summaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-27 14:48:25 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-27 14:48:25 +0000
commitafa75315e54988e309eb1a52c5c1d4ed84e177f0 (patch)
tree041a584101c63103f392d1117d85788089bea279 /modules/core
parent899db75e2e80485613eb4377a9a861abcfa217a7 (diff)
- 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
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/m_kick.c2
1 files changed, 1 insertions, 1 deletions
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';