diff options
| author | 2009-05-02 19:55:02 +0000 | |
|---|---|---|
| committer | 2009-05-02 19:55:02 +0000 | |
| commit | b0884a94ef85f28fa964adc1b4f0732f2986ca7a (patch) | |
| tree | f322376dceee3af1f4d043b86808cbf90bf71987 /src/modules/m_swhois.cpp | |
| parent | Remove commands makefile also on make distclean. (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/modules/m_swhois.cpp')
| -rw-r--r-- | src/modules/m_swhois.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index c36857c14..b750d839d 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -44,7 +44,7 @@ class CommandSwhois : public Command // We already had it set... if (!ServerInstance->ULine(user->server)) // Ulines set SWHOISes silently - ServerInstance->SNO->WriteToSnoMask('a', "%s used SWHOIS to set %s's extra whois from '%s' to '%s'", user->nick.c_str(), dest->nick.c_str(), text->c_str(), parameters[1].c_str()); + ServerInstance->SNO->WriteGlobalSno('a', "%s used SWHOIS to set %s's extra whois from '%s' to '%s'", user->nick.c_str(), dest->nick.c_str(), text->c_str(), parameters[1].c_str()); dest->Shrink("swhois"); delete text; @@ -52,7 +52,7 @@ class CommandSwhois : public Command else if (!ServerInstance->ULine(user->server)) { // Ulines set SWHOISes silently - ServerInstance->SNO->WriteToSnoMask('a', "%s used SWHOIS to set %s's extra whois to '%s'", user->nick.c_str(), dest->nick.c_str(), parameters[1].c_str()); + ServerInstance->SNO->WriteGlobalSno('a', "%s used SWHOIS to set %s's extra whois to '%s'", user->nick.c_str(), dest->nick.c_str(), parameters[1].c_str()); } text = new std::string(parameters[1]); |
