summaryrefslogtreecommitdiff
path: root/src/cmd_restart.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-09 17:52:10 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-09 17:52:10 +0000
commit2591562ada4cb1f866e5d1c98340fb19332b3844 (patch)
tree1cf18676c1851c39322d20fa208c0221e23ba6ac /src/cmd_restart.cpp
parent1cbf29e3cd070c12437a657b47fc433008b2c74d (diff)
Move tons more stuff into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_restart.cpp')
-rw-r--r--src/cmd_restart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_restart.cpp b/src/cmd_restart.cpp
index baf5104f9..81c45386f 100644
--- a/src/cmd_restart.cpp
+++ b/src/cmd_restart.cpp
@@ -20,7 +20,7 @@
#include "helperfuncs.h"
#include "commands/cmd_restart.h"
-extern InspIRCd* ServerInstance;;
+extern InspIRCd* ServerInstance;
void cmd_restart::Handle (const char** parameters, int pcnt, userrec *user)
{
@@ -43,7 +43,7 @@ void cmd_restart::Handle (const char** parameters, int pcnt, userrec *user)
argv[3] = NULL;
// close ALL file descriptors
- send_error("Server restarting.");
+ ServerInstance->SendError("Server restarting.");
sleep(1);
for (int i = 0; i < MAX_DESCRIPTORS; i++)
{