aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_cgiirc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
-rw-r--r--src/modules/m_cgiirc.cpp4
1 files changed, 2 insertions, 2 deletions
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