- if(!was_on_chan)
- remove_user_from_channel(find_channel_membership(chptr, source_p));
- else if (!no_override_deop)
- msptr->flags &= ~CHFL_CHANOP;
+ sendto_channel_local(flags, chptr, "%s%s %s", cmdbuf, modebuf, parabuf);
+ if(override)
+ {
+ sendto_wallops_flags(UMODE_WALLOP, &me,
+ "%s is overriding modes on %s: %s %s",
+ get_oper_name(source_p), chptr->chname, modebuf, parabuf);
+ sendto_server(NULL, chptr, NOCAPS, NOCAPS,
+ ":%s WALLOPS :%s is overriding modes on %s: %s %s",
+ use_id(source_p), get_oper_name(source_p), chptr->chname, modebuf, parabuf);
+ }