summaryrefslogtreecommitdiff
path: root/src/cmd_die.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_die.cpp')
-rw-r--r--src/cmd_die.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_die.cpp b/src/cmd_die.cpp
index 7f0a81df8..734ee8ba3 100644
--- a/src/cmd_die.cpp
+++ b/src/cmd_die.cpp
@@ -35,7 +35,7 @@ CmdResult cmd_die::Handle (const char** parameters, int pcnt, userrec *user)
if (ServerInstance->Config->DieDelay)
sleep(ServerInstance->Config->DieDelay);
- InspIRCd::Exit(EXIT_STATUS_DIE);
+ ServerInstance->Exit(EXIT_STATUS_DIE);
}
else
{