]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/listmode.cpp
Replace OnRehash() with ReadConfig() that is called on boot, on module load and on...
[user/henk/code/inspircd.git] / src / listmode.cpp
index b7b1cbc51c2afc9f033414b3410bac3ed4efdf4c..a377f19e3293a276d2ab7e509767bdd611c61ecd 100644 (file)
@@ -92,9 +92,6 @@ void ListModeBase::DoRehash()
 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)