summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commands.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index c5529501d..0c796b32e 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -914,8 +914,7 @@ void handle_quit(char **parameters, int pcnt, userrec *user)
}
else
{
- 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]);
+ WriteOpers("*** Client exiting at %s: %s!%s@%s [%s]",user->server,user->nick,user->ident,user->host,parameters[0]);
WriteCommonExcept(user,"QUIT :%s",parameters[0]);
}
FOREACH_MOD OnUserQuit(user,std::string(PrefixQuit)+std::string(parameters[0]));