throw ModuleException("Could not add new modes!");
OnRehash(NULL,"");
+ Implementation eventlist[] = { I_OnRehash };
+ ServerInstance->Modules->Attach(eventlist, this, 1);
}
virtual ~ModuleCloaking()
{
ServerInstance->Modes->DelMode(cu);
- DELETE(cu);
+ delete cu;
ServerInstance->Modules->DoneWithInterface("HashRequest");
}