- ModuleBlockCAPS(InspIRCd* Me) : Module(Me)
- {
- OnRehash(NULL);
- bc = new BlockCaps(ServerInstance);
- if (!ServerInstance->Modes->AddMode(bc))
- {
- delete bc;
- throw ModuleException("Could not add new modes!");
- }
- Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice, I_OnRehash, I_On005Numeric };
- ServerInstance->Modules->Attach(eventlist, this, 4);
- }
-
- virtual void On005Numeric(std::string &output)