]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_banredirect.cpp
Fixes found by removing User inheritance from StreamSocket
[user/henk/code/inspircd.git] / src / modules / m_banredirect.cpp
index 540155b81fc3ff69cdec37ec0c59e2318589d610..cf6c278282509b2be1c6409330cce3c312cae26b 100644 (file)
@@ -20,7 +20,7 @@
 /* Originally written by Om, January 2009
  */
 
-class BanRedirectEntry : public classbase
+class BanRedirectEntry
 {
  public:
        std::string targetchan;
@@ -212,7 +212,7 @@ class ModuleBanRedirect : public Module
 
                OnRehash(NULL);
 
-               Extensible::Register(&re.extItem);
+               ServerInstance->Extensions.Register(&re.extItem);
                Implementation list[] = { I_OnRehash, I_OnUserPreJoin, I_OnChannelDelete };
                ServerInstance->Modules->Attach(list, this, 3);
        }
@@ -332,7 +332,7 @@ class ModuleBanRedirect : public Module
 
        virtual Version GetVersion()
        {
-               return Version("Allows an extended ban (+b) syntax redirecting banned users to another channel", VF_COMMON|VF_VENDOR, API_VERSION);
+               return Version("Allows an extended ban (+b) syntax redirecting banned users to another channel", VF_COMMON|VF_VENDOR);
        }
 
        void Prioritize()