summaryrefslogtreecommitdiff
path: root/src/modules/m_noinvite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_noinvite.cpp')
-rw-r--r--src/modules/m_noinvite.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp
index 2cf3954fe..1d14f1c9b 100644
--- a/src/modules/m_noinvite.cpp
+++ b/src/modules/m_noinvite.cpp
@@ -25,6 +25,8 @@ using namespace std;
/* $ModDesc: Provides support for unreal-style channel mode +V */
+extern InspIRCd* ServerInstance;
+
class NoInvite : public ModeHandler
{
public:
@@ -74,7 +76,7 @@ class ModuleNoInvite : public Module
virtual void On005Numeric(std::string &output)
{
- InsertMode(output,"V",4);
+ ServerInstance->ModeGrok->InsertMode(output,"V",4);
}