]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_die.cpp
Patch to not increment nickchange counter for nick changes that would be blocked...
[user/henk/code/inspircd.git] / src / commands / cmd_die.cpp
index 1d360f1b3efdbbdbc70ac60fb778ed5646b7ce9b..b85323afc9fb5ebe221e7682c07332974a2ed925 100644 (file)
@@ -40,7 +40,7 @@ CmdResult CommandDie::Handle (const std::vector<std::string>& parameters, User *
        else
        {
                ServerInstance->Logs->Log("COMMAND",SPARSE, "Failed /DIE command from %s!%s@%s", user->nick.c_str(), user->ident.c_str(), user->host.c_str());
-               ServerInstance->SNO->WriteToSnoMask('A', "Failed DIE Command from %s!%s@%s.",user->nick.c_str(),user->ident.c_str(),user->host.c_str());
+               ServerInstance->SNO->WriteGlobalSno('a', "Failed DIE Command from %s!%s@%s.",user->nick.c_str(),user->ident.c_str(),user->host.c_str());
                return CMD_FAILURE;
        }
        return CMD_SUCCESS;