summaryrefslogtreecommitdiff
path: root/src/modules/m_sslmodes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_sslmodes.cpp')
-rw-r--r--src/modules/m_sslmodes.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_sslmodes.cpp b/src/modules/m_sslmodes.cpp
index d2b26cbe0..c844e4e01 100644
--- a/src/modules/m_sslmodes.cpp
+++ b/src/modules/m_sslmodes.cpp
@@ -8,6 +8,8 @@
static char* dummy;
+extern InspIRCd* ServerInstance;
+
class SSLMode : public ModeHandler
{
Server* Srv;
@@ -75,7 +77,7 @@ class ModuleSSLModes : public Module
virtual void On005Numeric(std::string &output)
{
- InsertMode(output, "z", 4);
+ ServerInstance->ModeGrok->InsertMode(output, "z", 4);
}
virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname)