From 929cd28544c59d122a8d36b2b5e3a394aa03108b Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 16 Apr 2009 15:51:05 +0000 Subject: Convert snomask 'A' into snomask 'a' for local announcements, add snomask 'A' for remote announcements. Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sakick.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_sakick.cpp') diff --git a/src/modules/m_sakick.cpp b/src/modules/m_sakick.cpp index 391fc81af..a9e7c3c0e 100644 --- a/src/modules/m_sakick.cpp +++ b/src/modules/m_sakick.cpp @@ -63,14 +63,14 @@ class CommandSakick : public Command Channel* n = ServerInstance->FindChan(parameters[1]); if (!n) { - ServerInstance->SNO->WriteToSnoMask('A', std::string(user->nick)+" SAKICKed "+dest->nick+" on "+parameters[0]); + ServerInstance->SNO->WriteToSnoMask('a', std::string(user->nick)+" SAKICKed "+dest->nick+" on "+parameters[0]); return CMD_SUCCESS; } else { if (!n->HasUser(dest)) { - ServerInstance->SNO->WriteToSnoMask('A', std::string(user->nick)+" SAKICKed "+dest->nick+" on "+parameters[0]); + ServerInstance->SNO->WriteToSnoMask('a', std::string(user->nick)+" SAKICKed "+dest->nick+" on "+parameters[0]); return CMD_SUCCESS; } else @@ -82,7 +82,7 @@ class CommandSakick : public Command } else { - ServerInstance->SNO->WriteToSnoMask('A', std::string(user->nick)+" sent remote SAKICK to kick "+dest->nick+" from "+parameters[0]); + ServerInstance->SNO->WriteToSnoMask('a', std::string(user->nick)+" sent remote SAKICK to kick "+dest->nick+" from "+parameters[0]); } return CMD_SUCCESS; -- cgit v1.2.3