summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-29 16:11:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-29 16:11:50 +0000
commit76f43a55180e8b8e8e3bbb32be3931ca1431666a (patch)
tree35461ff5cd692107ce12bcdd0a8c90cf386586cc /src/commands.cpp
parenta9e58bb31fcf709c4ecce84f546af4966f51b6d5 (diff)
Added NICK and QUIT
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2009 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index a1f914734..fdaaece1b 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -867,7 +867,7 @@ void handle_quit(char **parameters, int pcnt, userrec *user)
Write(user->fd,"ERROR :Closing link (%s@%s) [%s%s]",user->ident,user->host,PrefixQuit,parameters[0]);
WriteOpers("*** Client exiting: %s!%s@%s [%s%s]",user->nick,user->ident,user->host,PrefixQuit,parameters[0]);
WriteCommonExcept(user,"QUIT :%s%s",PrefixQuit,parameters[0]);
- FOREACH_MOD OnUserQuit(user,parameters[0]);
+ FOREACH_MOD OnUserQuit(user,std::string(PrefixQuit)+std::string(parameters[0]));
}
else