- virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string text)
+ BlockColor *bc;
+ public:
+
+ ModuleBlockColour(InspIRCd* Me) : Module::Module(Me)
+ {
+
+ bc = new BlockColor(ServerInstance);
+ ServerInstance->AddMode(bc, 'c');
+ }
+
+ void Implements(char* List)
+ {
+ List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1;
+ }
+
+ virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)