From 392c7828b21d2b0664ec705e99969f54fdaa5566 Mon Sep 17 00:00:00 2001 From: om Date: Thu, 26 Jan 2006 00:23:09 +0000 Subject: Use InsertMode() and add vendor flag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2911 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_banexception.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_banexception.cpp') 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); } }; -- cgit v1.2.3