ModuleTimedBans(InspIRCd* Me) : Module(Me) { mycommand = new cmd_tban(ServerInstance); ServerInstance->AddCommand(mycommand); TimedBanList.clear(); }
ModuleTimedBans(InspIRCd* Me) : Module(Me) { mycommand = new CommandTban(ServerInstance); ServerInstance->AddCommand(mycommand); TimedBanList.clear(); Implementation eventlist[] = { I_OnDelBan, I_OnBackgroundTimer }; ServerInstance->Modules->Attach(eventlist, this, 2); }
virtual ~ModuleTimedBans() { TimedBanList.clear(); }