diff options
| author | 2019-02-07 12:17:09 +0000 | |
|---|---|---|
| committer | 2019-02-07 12:17:09 +0000 | |
| commit | 8e908f0a6864eab4cf37997773603e9943bb7892 (patch) | |
| tree | e4be6165b608bdfa35cbce88f447d94d9b498974 /src/modules/m_servprotect.cpp | |
| parent | ModuleManager: remove fakederef. (diff) | |
| download | inspircd++-8e908f0a6864eab4cf37997773603e9943bb7892.tar.gz inspircd++-8e908f0a6864eab4cf37997773603e9943bb7892.tar.bz2 inspircd++-8e908f0a6864eab4cf37997773603e9943bb7892.zip | |
SnomaskManager: remove fakederef.
Diffstat (limited to 'src/modules/m_servprotect.cpp')
| -rw-r--r-- | src/modules/m_servprotect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_servprotect.cpp b/src/modules/m_servprotect.cpp index 6850bf592..4f9ba616c 100644 --- a/src/modules/m_servprotect.cpp +++ b/src/modules/m_servprotect.cpp @@ -117,7 +117,7 @@ class ModuleServProtectMode : public Module, public Whois::EventListener, public if (dst->IsModeSet(bm)) { src->WriteNumeric(ERR_KILLDENY, InspIRCd::Format("You are not permitted to kill %s services!", ServerInstance->Config->Network.c_str())); - ServerInstance->SNO->WriteGlobalSno('a', src->nick+" tried to kill service "+dst->nick+" ("+reason+")"); + ServerInstance->SNO.WriteGlobalSno('a', src->nick+" tried to kill service "+dst->nick+" ("+reason+")"); return MOD_RES_DENY; } return MOD_RES_PASSTHRU; |
