summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-26 09:03:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-26 09:03:50 +0000
commit433e2b632e1ac2c2016a1a7991e4237112317ea2 (patch)
tree26b233e84bf5ae22415480f335eaadf4a33ab1b7
parent1ee66f376b6ba32cca8fb72b746174c674fc94f4 (diff)
maxbuf -> maxquit (this isnt finished yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3909 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/cmd_kill.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp
index 432970a0c..cbdf5b9be 100644
--- a/src/cmd_kill.cpp
+++ b/src/cmd_kill.cpp
@@ -53,7 +53,7 @@ void cmd_kill::Handle (char **parameters, int pcnt, userrec *user)
{
// remote kill
WriteOpers("*** Remote kill by %s: %s!%s@%s (%s)", user->nick, u->nick, u->ident, u->host, parameters[1]);
- snprintf(killreason, MAXBUF,"[%s] Killed (%s (%s))", Config->ServerName, user->nick, parameters[1]);
+ snprintf(killreason, MAXQUIT,"[%s] Killed (%s (%s))", Config->ServerName, user->nick, parameters[1]);
WriteCommonExcept(u, "QUIT :%s", killreason);
FOREACH_MOD(I_OnRemoteKill, OnRemoteKill(user, u, killreason));
@@ -78,7 +78,7 @@ void cmd_kill::Handle (char **parameters, int pcnt, userrec *user)
log(DEFAULT,"LOCAL KILL: %s :%s!%s!%s (%s)", u->nick, Config->ServerName, user->dhost, user->nick, parameters[1]);
WriteTo(user, u, "KILL %s :%s!%s!%s (%s)", u->nick, Config->ServerName, user->dhost, user->nick, parameters[1]);
WriteOpers("*** Local Kill by %s: %s!%s@%s (%s)", user->nick, u->nick, u->ident, u->host, parameters[1]);
- snprintf(killreason,MAXBUF,"Killed (%s (%s))", user->nick, parameters[1]);
+ snprintf(killreason,MAXQUIT,"Killed (%s (%s))", user->nick, parameters[1]);
kill_link(u, killreason);
}
}