]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/u_listmode.h
allow channels starting with ## in m_banredirect.cpp, fixes bug #921 reported by...
[user/henk/code/inspircd.git] / src / modules / u_listmode.h
index 1516b724cc9606205db51c7ef5bd5ece1f097f01..44c220dfb19641127892a59d531e30311fc72665 100644 (file)
@@ -25,7 +25,7 @@ inline std::string stringtime()
 
 /** An item in a listmode's list
  */
-class ListItem : public classbase
+class ListItem
 {
 public:
        std::string nick;
@@ -35,7 +35,7 @@ public:
 
 /** The number of items a listmode's list may contain
  */
-class ListLimit : public classbase
+class ListLimit
 {
 public:
        std::string mask;
@@ -209,8 +209,8 @@ class ListModeBase : public ModeHandler
         */
        virtual void DoImplements(Module* m)
        {
-               Implementation eventlist[] = { I_OnChannelDelete, I_OnSyncChannel, I_OnRehash };
-               ServerInstance->Modules->Attach(eventlist, m, 3);
+               Implementation eventlist[] = { I_OnSyncChannel, I_OnRehash };
+               ServerInstance->Modules->Attach(eventlist, m, 2);
        }
 
        /** Handle the list mode.