diff options
Diffstat (limited to 'src/cmd_quit.cpp')
-rw-r--r-- | src/cmd_quit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_quit.cpp b/src/cmd_quit.cpp index 8626db1ef..ae3d68296 100644 --- a/src/cmd_quit.cpp +++ b/src/cmd_quit.cpp @@ -21,7 +21,7 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance) return new cmd_quit(Instance); } -CmdResult cmd_quit::Handle (const char** parameters, int pcnt, userrec *user) +CmdResult cmd_quit::Handle (const char** parameters, int pcnt, User *user) { std::string quitmsg; @@ -38,7 +38,7 @@ CmdResult cmd_quit::Handle (const char** parameters, int pcnt, userrec *user) else quitmsg = pcnt ? parameters[0] : "Client exited"; - userrec::QuitUser(ServerInstance, user, quitmsg); + User::QuitUser(ServerInstance, user, quitmsg); return CMD_SUCCESS; } |