From b0884a94ef85f28fa964adc1b4f0732f2986ca7a Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 2 May 2009 19:55:02 +0000 Subject: 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 --- src/modules/m_servprotect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_servprotect.cpp') diff --git a/src/modules/m_servprotect.cpp b/src/modules/m_servprotect.cpp index 73462a20a..7c4aef289 100644 --- a/src/modules/m_servprotect.cpp +++ b/src/modules/m_servprotect.cpp @@ -110,7 +110,7 @@ class ModuleServProtectMode : public Module if (dst->IsModeSet('k')) { src->WriteNumeric(485, "%s :You are not permitted to kill %s services!", src->nick.c_str(), ServerInstance->Config->Network); - ServerInstance->SNO->WriteToSnoMask('a', std::string(src->nick)+" tried to kill service "+dst->nick+" ("+reason+")"); + ServerInstance->SNO->WriteGlobalSno('a', std::string(src->nick)+" tried to kill service "+dst->nick+" ("+reason+")"); return 1; } return 0; -- cgit v1.3.1-10-gc9f91