summaryrefslogtreecommitdiff
path: root/src/commands/cmd_die.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-02 19:55:02 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-02 19:55:02 +0000
commitb0884a94ef85f28fa964adc1b4f0732f2986ca7a (patch)
treef322376dceee3af1f4d043b86808cbf90bf71987 /src/commands/cmd_die.cpp
parent39d63cdd108d6a51ee8bbbc3e192d302be266ed8 (diff)
Globally route "a" snotices for more modules. Patch from Milliways.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_die.cpp')
-rw-r--r--src/commands/cmd_die.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_die.cpp b/src/commands/cmd_die.cpp
index 4fcbdae40..b85323afc 100644
--- a/src/commands/cmd_die.cpp
+++ b/src/commands/cmd_die.cpp
@@ -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;