Remove the ability of overriding opers to privmsg/notice @#channel while lacking ops.
Since this goes past +q/+m and so on, it could easily and silently be abused.
This commit is contained in:
parent
7bd3701cd6
commit
7469e4b0d2
|
@ -362,7 +362,7 @@ build_target_list(int p_or_n, const char *command, struct Client *client_p,
|
|||
|
||||
msptr = find_channel_membership(chptr, source_p);
|
||||
|
||||
if(!IsServer(source_p) && !IsService(source_p) && !is_chanop_voiced(msptr) && !IsOverride(source_p))
|
||||
if(!IsServer(source_p) && !IsService(source_p) && !is_chanop_voiced(msptr))
|
||||
{
|
||||
sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
|
||||
get_id(&me, source_p),
|
||||
|
|
Loading…
Reference in New Issue