]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_server.cpp
Remove use of SendSNONotice to send to remote servers, this is done automagically now
[user/henk/code/inspircd.git] / src / commands / cmd_server.cpp
index f4c12f7e311a2355236518e56f7e6c3cc0fccabf..f82263cca54456813b1fbcc82644c2f441dcadbd 100644 (file)
@@ -23,7 +23,7 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
 
 CmdResult CommandServer::Handle (const char* const*, int, User *user)
 {
-       user->WriteServ("666 %s :You cannot identify as a server, you are a USER. IRC Operators informed.",user->nick);
+       user->WriteNumeric(666, "%s :You cannot identify as a server, you are a USER. IRC Operators informed.",user->nick);
        ServerInstance->SNO->WriteToSnoMask('A', "WARNING: %s attempted to issue a SERVER command and is registered as a user!", user->nick);
        return CMD_FAILURE;
 }