diff options
-rw-r--r-- | src/modules/m_banexception.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_inviteexception.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index cb6e57849..fa0ff4c1d 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -33,7 +33,7 @@ public: virtual void On005Numeric(std::string &output) { output.append(" EXCEPTS=e"); - output.insert(output.find("CHANMODES=", 0)+10, "e"); + InsertMode(output, "e", 1); } virtual int OnCheckBan(userrec* user, chanrec* chan) @@ -58,7 +58,7 @@ public: virtual Version GetVersion() { - return Version(1, 0, 0, 2, VF_STATIC); + return Version(1, 0, 0, 3, VF_STATIC | VF_VENDOR); } }; 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); } }; |