summaryrefslogtreecommitdiff
path: root/src/commands/cmd_quit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_quit.cpp')
-rw-r--r--src/commands/cmd_quit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_quit.cpp b/src/commands/cmd_quit.cpp
index 5db7ada40..7bb84bd3b 100644
--- a/src/commands/cmd_quit.cpp
+++ b/src/commands/cmd_quit.cpp
@@ -51,7 +51,7 @@ CmdResult CommandQuit::Handle (const std::vector<std::string>& parameters, User
else
quitmsg = parameters.size() ? parameters[0] : "Client exited";
- std::string* operquit = User::OperQuit.get(user);
+ std::string* operquit = ServerInstance->OperQuit.get(user);
if (operquit)
{
ServerInstance->Users->QuitUser(user, quitmsg, operquit->c_str());