diff options
Diffstat (limited to 'src/cmd_die.cpp')
-rw-r--r-- | src/cmd_die.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd_die.cpp b/src/cmd_die.cpp index 9bebf3fe6..5f1a88f67 100644 --- a/src/cmd_die.cpp +++ b/src/cmd_die.cpp @@ -14,6 +14,7 @@ #include "configreader.h" #include "users.h" #include "commands/cmd_die.h" +#include "exitcodes.h" extern "C" command_t* init_command(InspIRCd* Instance) { @@ -44,7 +45,7 @@ CmdResult cmd_die::Handle (const char** parameters, int pcnt, userrec *user) } sleep(ServerInstance->Config->DieDelay); - InspIRCd::Exit(ERROR); + InspIRCd::Exit(EXIT_STATUS_DIE); } else { |