- virtual int OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
- {
- if (target_type == TYPE_CHANNEL)
- {
- return ProcessMessages(user,(Channel*)dest,text);
- }
- return 0;
- }
-
- virtual void OnCleanup(int target_type, void* item)
- {
- cf->DoCleanup(target_type, item);
- }
-
- virtual int OnUserPreNotice(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
- {
- return OnUserPreMessage(user,dest,target_type,text,status,exempt_list);
- }
-
- virtual void OnSyncChannel(Channel* chan, Module* proto, void* opaque)
- {
- cf->DoSyncChannel(chan, proto, opaque);
- }
-
- virtual Version GetVersion()
- {
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
- }
-
- virtual ~ModuleChanFilter()