]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_restart.cpp
Spotted problem: must clear out all prefixes attached to a user when they quit or...
[user/henk/code/inspircd.git] / src / cmd_restart.cpp
index c72a164955cb3df7a6278b4caa24656e02f4edc7..5704b3416bd15830ecfc78f08f39532501c82535 100644 (file)
@@ -17,7 +17,7 @@
 #include "configreader.h"
 #include "users.h"
 #include "commands.h"
-#include "helperfuncs.h"
+
 #include "commands/cmd_restart.h"
 
 
@@ -25,7 +25,7 @@
 void cmd_restart::Handle (const char** parameters, int pcnt, userrec *user)
 {
        char *argv[32];
-       log(DEFAULT,"Restart: %s",user->nick);
+       ServerInstance->Log(DEFAULT,"Restart: %s",user->nick);
        if (!strcmp(parameters[0],ServerInstance->Config->restartpass))
        {
                ServerInstance->WriteOpers("*** RESTART command from %s!%s@%s, restarting server.",user->nick,user->ident,user->host);