diff options
Diffstat (limited to 'src/modules/m_inviteexception.cpp')
-rw-r--r-- | src/modules/m_inviteexception.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index 06ce93a57..b3104d3d2 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -31,7 +31,7 @@ public: virtual void On005Numeric(std::string &output) { output.append(" INVEX=I"); - output.insert(output.find("CHANMODES=", 0)+10, "I"); + InsertMode(output, "I", 1); } virtual int OnCheckInvite(userrec* user, chanrec* chan) @@ -59,7 +59,7 @@ public: virtual Version GetVersion() { - return Version(1, 0, 0, 2, VF_STATIC); + return Version(1, 0, 0, 3, VF_VENDOR | VF_STATIC); } }; |