diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 18:43:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 18:43:15 +0000 |
commit | e51a4b5c29deac855496d6658a3c4612a61ffbb7 (patch) | |
tree | 56fc8b6ff360388567bcb64aee8dfd179085edf4 /src/modules/m_noinvite.cpp | |
parent | 6c9588419d3cfe01d04d3c870eaac712bb6745b8 (diff) |
Move InsertMode into ModeParser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4849 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_noinvite.cpp')
-rw-r--r-- | src/modules/m_noinvite.cpp | 4 |
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); } |