From 433e2b632e1ac2c2016a1a7991e4237112317ea2 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 26 Apr 2006 09:03:50 +0000 Subject: maxbuf -> maxquit (this isnt finished yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3909 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_kill.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } } -- cgit v1.2.3