- return 0;
- }
-
- virtual int OnUserPreNotice(User *user, void *dest, int target_type, std::string &text, char status, CUList &exempt_list)
- {
- if (!IS_LOCAL(user))
- return 0;
-
- if (target_type == TYPE_CHANNEL)
- {
- if (((Channel *)dest)->IsExtBanned(user, 'm'))
- {
- user->WriteServ("NOTICE "+std::string(user->nick)+" :*** Cannot send to " + ((Channel *)dest)->name + ", as you are muted");
- return 1;
- }