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 29433ff5a..f7cbd00bf 100644
--- a/src/commands/cmd_quit.cpp
+++ b/src/commands/cmd_quit.cpp
@@ -38,7 +38,7 @@ CmdResult CommandQuit::Handle (const char* const* parameters, int pcnt, User *us
else
quitmsg = pcnt ? parameters[0] : "Client exited";
- User::QuitUser(ServerInstance, user, quitmsg);
+ ServerInstance->Users->QuitUser(user, quitmsg);
return CMD_SUCCESS;
}