]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nopartmsg.cpp
Fix unsafe iteration in m_timedbans
[user/henk/code/inspircd.git] / src / modules / m_nopartmsg.cpp
index cdd65417ffe0d6fa0324ff683435688b1e7ec99a..51ee659cd6fb665faf467a5c982ca1714bb344fa 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -31,7 +31,7 @@ class ModulePartMsgBan : public Module
 
        virtual Version GetVersion()
        {
-               return Version("Implements extban +b p: - part message bans", VF_COMMON|VF_VENDOR, API_VERSION);
+               return Version("Implements extban +b p: - part message bans", VF_OPTCOMMON|VF_VENDOR);
        }