- : bm(this)
- {
- if (!ServerInstance->Modes->AddMode(&bm))
- throw ModuleException("Could not add new modes!");
- Implementation eventlist[] = { I_OnWhois, I_OnKill, I_OnWhoisLine, I_OnRawMode, I_OnUserPreKick };
- ServerInstance->Modules->Attach(eventlist, this, 5);
- }
-
-
- ~ModuleServProtectMode()
+ : Whois::EventListener(this)
+ , Whois::LineEventListener(this)
+ , bm(this)