From 972203736bb030da11b01e8ac7a47c75f842bf7f Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 21 May 2007 19:54:00 +0000 Subject: Squash unused var error git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7103 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_restart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3