Do not allow forward channels for +qeI, as in ircd-seven.
This commit is contained in:
parent
e1dc9e549f
commit
5efa7ef677
1 changed files with 3 additions and 0 deletions
|
@ -882,6 +882,9 @@ chm_ban(struct Client *source_p, struct Channel *chptr,
|
|||
forward = NULL;
|
||||
else if(!check_forward(source_p, chptr, forward))
|
||||
return;
|
||||
/* Forwards only make sense for bans. */
|
||||
if(mode_type != CHFL_BAN)
|
||||
return;
|
||||
}
|
||||
|
||||
/* dont allow local clients to overflow the banlist, dont
|
||||
|
|
Loading…
Reference in a new issue