diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-26 00:23:09 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-26 00:23:09 +0000 |
commit | 392c7828b21d2b0664ec705e99969f54fdaa5566 (patch) | |
tree | c8ad62bf93ca9c596e694b7f1820e4eb21ef8b42 /src/modules | |
parent | ed00bf8f4e9107a00a8ddc8c0784515f1bdd2195 (diff) |
Use InsertMode() and add vendor flag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2911 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-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); } }; |