summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-24 03:52:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-24 03:52:39 +0000
commitd2d53396b9909cd12707f2d91fea1bdb647feb06 (patch)
tree098de2a3371f9a341033542c9cd57fcf851483c3 /src
parent66ca5d4355875b6a58978e70e9e3ecbe21437c22 (diff)
Fixed so that quitprefixes are shown in client exit notices
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1181 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index fa51713d4..d53bd9726 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -905,8 +905,8 @@ void handle_quit(char **parameters, int pcnt, userrec *user)
reason[MAXQUIT-1] = '\0';
}
- Write(user->fd,"ERROR :Closing link (%s@%s) [%s]",user->ident,user->host,parameters[0]);
- WriteOpers("*** Client exiting: %s!%s@%s [%s]",user->nick,user->ident,user->host,parameters[0]);
+ 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]);
char buffer[MAXBUF];