X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Flistmode.cpp;h=fb76beab210cc4c8a00379e9083d644078d54b81;hb=eaf658de3d1ef984c9a0b4273a9cfbd3029f8b5b;hp=5d54d841745476f626d0840cb9967c1dd4861f2a;hpb=9bb24d3f458274b7485554bc95f1274900a69ec2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/listmode.cpp b/src/listmode.cpp index 5d54d8417..fb76beab2 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -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)