summaryrefslogtreecommitdiff
path: root/src/modules/m_chanprotect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chanprotect.cpp')
-rw-r--r--src/modules/m_chanprotect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp
index 21c3ee681..024887792 100644
--- a/src/modules/m_chanprotect.cpp
+++ b/src/modules/m_chanprotect.cpp
@@ -275,7 +275,7 @@ class ModuleChanProtect : public Module
virtual void On005Numeric(std::string &output)
{
- InsertMode(output,"qa",1);
+ ServerInstance->ModeGrok->InsertMode(output,"qa",1);
}
virtual void OnUserKick(userrec* source, userrec* user, chanrec* chan, const std::string &reason)