ModuleSafeList(InspIRCd* Me) : Module(Me)
{
OnRehash(NULL, "");
+ Implementation eventlist[] = { I_OnBufferFlushed, I_OnPreCommand, I_OnCleanup, I_OnUserQuit, I_On005Numeric, I_OnRehash };
+ ServerInstance->Modules->Attach(eventlist, this, 6);
}
virtual ~ModuleSafeList()
if (user->GetExt("safelist_cache", ld))
{
Channel* chan = NULL;
- long amount_sent = 0;
+ unsigned long amount_sent = 0;
do
{
chan = ServerInstance->GetChannelIndex(ld->list_position);