#include "configreader.h"
#include "users.h"
#include "commands.h"
-#include "helperfuncs.h"
+
#include "commands/cmd_restart.h"
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);