diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-03-09 17:17:10 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-03-09 17:17:10 +0100 |
commit | 9b17aecc0d711b1345416c0510adb270399960a9 (patch) | |
tree | 7472b4705fb6301319a290c12b9b8e9e0f1b0129 | |
parent | 7b7e82bec5ab5a39d88896fc7433125fd0c684de (diff) |
cmd_quit Display quit messages of remote users
-rw-r--r-- | src/coremods/core_user/cmd_quit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/coremods/core_user/cmd_quit.cpp b/src/coremods/core_user/cmd_quit.cpp index 019fde0cf..c4e127dd8 100644 --- a/src/coremods/core_user/cmd_quit.cpp +++ b/src/coremods/core_user/cmd_quit.cpp @@ -35,6 +35,8 @@ CmdResult CommandQuit::Handle (const std::vector<std::string>& parameters, User quitmsg = "Client exited"; else if (IS_LOCAL(user)) msgwrap.Wrap(parameters[0], quitmsg); + else + quitmsg = parameters[0]; std::string* operquit = ServerInstance->OperQuit.get(user); ServerInstance->Users->QuitUser(user, quitmsg, operquit); |