예제 #1
0
    ModuleTimedBans(InspIRCd* Me)
        : Module(Me)
    {

        mycommand = new cmd_tban(ServerInstance);
        ServerInstance->AddCommand(mycommand);
        TimedBanList.clear();
    }
예제 #2
0
	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);
	}
예제 #3
0
	virtual ~ModuleTimedBans()
	{
		TimedBanList.clear();
	}