]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_restart.cpp
Fixed bug #418 (incorrect numerics for part of /ADMIN and /USERS) - patch by Zaba
[user/henk/code/inspircd.git] / src / cmd_restart.cpp
index aece085914e758ebc33013c143183db7ffb27dc4..b9afd7c9db4f315e429ae2180da93b89dc279972 100644 (file)
@@ -12,8 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "configreader.h"
-#include "users.h"
 #include "commands/cmd_restart.h"
 
 extern "C" DllExport command_t* init_command(InspIRCd* Instance)
@@ -32,7 +30,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);