diff options
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/cmd_kill.cpp | 2 | ||||
-rw-r--r-- | src/commands/cmd_quit.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cmd_kill.cpp b/src/commands/cmd_kill.cpp index 72aee4d1d..6932c8ed6 100644 --- a/src/commands/cmd_kill.cpp +++ b/src/commands/cmd_kill.cpp @@ -102,7 +102,7 @@ CmdResult CommandKill::Handle (const char* const* parameters, int pcnt, User *us } // send the quit out - User::QuitUser(ServerInstance, u, killreason); + ServerInstance->Users->QuitUser(u, killreason); } else { 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; } |