diff options
Diffstat (limited to 'src/cmd_quit.cpp')
-rw-r--r-- | src/cmd_quit.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd_quit.cpp b/src/cmd_quit.cpp index 102d9adc5..bf64aea3d 100644 --- a/src/cmd_quit.cpp +++ b/src/cmd_quit.cpp @@ -27,7 +27,7 @@ extern "C" command_t* init_command(InspIRCd* Instance) return new cmd_quit(Instance); } -void cmd_quit::Handle (const char** parameters, int pcnt, userrec *user) +CmdResult cmd_quit::Handle (const char** parameters, int pcnt, userrec *user) { user_hash::iterator iter = ServerInstance->clientlist.find(user->nick); char reason[MAXBUF]; @@ -100,5 +100,7 @@ void cmd_quit::Handle (const char** parameters, int pcnt, userrec *user) user->PurgeEmptyChannels(); } DELETE(user); + + return CMD_SUCCESS; } |