summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd_restart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_restart.cpp b/src/cmd_restart.cpp
index aece08591..c910df8ba 100644
--- a/src/cmd_restart.cpp
+++ b/src/cmd_restart.cpp
@@ -32,7 +32,7 @@ CmdResult cmd_restart::Handle (const char** parameters, int pcnt, userrec *user)
{
ServerInstance->Restart("Server restarting.");
}
- catch (CoreException &e)
+ catch (...)
{
/* We dont actually get here unless theres some fatal and unrecoverable error. */
exit(0);