diff options
Diffstat (limited to 'src/modules/m_inviteexception.cpp')
-rw-r--r-- | src/modules/m_inviteexception.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index dabdc2829..5bd8d17e6 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -19,6 +19,8 @@ * ignoring if +i is set on the channel */ +class InspIRCd* ServerInstance; + class InviteException : public ListModeBase { public: @@ -47,7 +49,7 @@ public: virtual void On005Numeric(std::string &output) { output.append(" INVEX=I"); - InsertMode(output, "I", 1); + ServerInstance->ModeGrok->InsertMode(output, "I", 1); } virtual int OnCheckInvite(userrec* user, chanrec* chan) |