]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_restrictbanned.cpp
Add extban types +bb R: and M: - stops matching account masks from joining and speaki...
[user/henk/code/inspircd.git] / src / modules / m_restrictbanned.cpp
index 597eef2fbd3e14f52f959ef3d232814bf42a13b7..6068c5279bd38cdfca691a197f2080fca4992cf6 100644 (file)
@@ -24,14 +24,14 @@ class ModuleRestrictBanned : public Module
                Implementation eventlist[] = { I_OnLocalTopicChange, I_OnUserPreNick, I_OnUserPreNotice, I_OnUserPreMessage };
                ServerInstance->Modules->Attach(eventlist, this, 4);
        }
-       
+
        virtual ~ModuleRestrictBanned()
        {
        }
-       
+
        virtual Version GetVersion()
        {
-               return Version(1,1,0,1,VF_VENDOR,API_VERSION);
+               return Version(1,2,0,1,VF_VENDOR,API_VERSION);
        }
 
 
@@ -75,7 +75,7 @@ class ModuleRestrictBanned : public Module
        {
                return CheckRestricted(user, channel, "change the topic");
        }
-       
+
        virtual int OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
        {
                return OnUserPreNotice(user,dest,target_type,text,status,exempt_list);