From afa75315e54988e309eb1a52c5c1d4ed84e177f0 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 27 Apr 2013 14:48:25 +0000 Subject: - m_kick.c: revert changes made in revision 1.24 (cvs) made on Sun Jan 7 04:46:30 2001 UTC AnonOps are gone. And as described in rfc 2812, this is how ircd should behave in case no kick-reason has been specified git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1893 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/core/m_kick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/core') diff --git a/modules/core/m_kick.c b/modules/core/m_kick.c index 24a2888..75a2b84 100644 --- a/modules/core/m_kick.c +++ b/modules/core/m_kick.c @@ -80,7 +80,7 @@ m_kick(struct Client *client_p, struct Client *source_p, if (MyClient(source_p) && !IsFloodDone(source_p)) flood_endgrace(source_p); - comment = (EmptyString(parv[3])) ? parv[2] : parv[3]; + comment = (EmptyString(parv[3])) ? source_p->name : parv[3]; if (strlen(comment) > (size_t)KICKLEN) comment[KICKLEN] = '\0'; -- cgit