summaryrefslogtreecommitdiff
path: root/src/cmd_kill.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 20:08:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 20:08:02 +0000
commita318eee150eb0e1a862d362a5e9011431f0595d6 (patch)
treeaf914e3ccdba10a37fd6ef46d645d55ee138ef57 /src/cmd_kill.cpp
parentd54f233a5ea7d6fae389f0b2ef8bfc8b80f472e4 (diff)
WriteCommon() and WriteCommonExcept() -> userrec::WriteCommon(), userrec::WriteCommonExcept()
WriteCommon_NoFormat() and WriteCommonExcept_NoFormat() -> std::string variants git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4800 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_kill.cpp')
-rw-r--r--src/cmd_kill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp
index f2728e72e..44ea42277 100644
--- a/src/cmd_kill.cpp
+++ b/src/cmd_kill.cpp
@@ -54,7 +54,7 @@ void cmd_kill::Handle (const 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, MAXQUIT,"[%s] Killed (%s (%s))", Config->ServerName, user->nick, parameters[1]);
- WriteCommonExcept(u, "QUIT :%s", killreason);
+ u->WriteCommonExcept("QUIT :%s", killreason);
FOREACH_MOD(I_OnRemoteKill, OnRemoteKill(user, u, killreason));
user_hash::iterator iter = clientlist.find(u->nick);