From 8e908f0a6864eab4cf37997773603e9943bb7892 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 Feb 2019 12:17:09 +0000 Subject: SnomaskManager: remove fakederef. --- src/modules/m_cgiirc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_cgiirc.cpp') diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index c5ab0e71f..42cf4700c 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -210,7 +210,7 @@ class CommandWebIRC : public SplitCommand // If we are sending a snotice then the message will already be // written to the logfile. if (notify) - ServerInstance->SNO->WriteGlobalSno('w', buffer); + ServerInstance->SNO.WriteGlobalSno('w', buffer); else ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, buffer); } @@ -271,7 +271,7 @@ class ModuleCgiIRC void init() override { - ServerInstance->SNO->EnableSnomask('w', "CGIIRC"); + ServerInstance->SNO.EnableSnomask('w', "CGIIRC"); } void ReadConfig(ConfigStatus& status) override -- cgit v1.3.1-10-gc9f91