]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/listmode.cpp
Fix various small issues.
[user/henk/code/inspircd.git] / src / listmode.cpp
index 5d54d841745476f626d0840cb9967c1dd4861f2a..fb76beab210cc4c8a00379e9083d644078d54b81 100644 (file)
@@ -57,11 +57,6 @@ void ListModeBase::RemoveMode(Channel* channel, irc::modestacker& stack)
        }
 }
 
-void ListModeBase::RemoveMode(User*, irc::modestacker* stack)
-{
-       /* Listmodes dont get set on users */
-}
-
 void ListModeBase::DoRehash()
 {
        ConfigTagList tags = ServerInstance->Config->ConfTags(configtag);
@@ -98,8 +93,6 @@ void ListModeBase::DoImplements(Module* m)
 {
        ServerInstance->Modules->AddService(extItem);
        this->DoRehash();
-       Implementation eventlist[] = { I_OnSyncChannel, I_OnRehash };
-       ServerInstance->Modules->Attach(eventlist, m, sizeof(eventlist)/sizeof(Implementation));
 }
 
 unsigned int ListModeBase::FindLimit(const std::string& channame)