* ---------------------------------------------------
*/
+#include "inspircd.h"
#include "configreader.h"
#include "users.h"
#include "commands/cmd_restart.h"
-
-
extern "C" DllExport command_t* init_command(InspIRCd* Instance)
{
return new cmd_restart(Instance);
{
ServerInstance->Restart("Server restarting.");
}
- catch (CoreException &e)
+ catch (...)
{
/* We dont actually get here unless theres some fatal and unrecoverable error. */
exit(0);