Do not allow forward channels for +qeI, as in ircd-seven.

This commit is contained in:
Jilles Tjoelker 2011-12-10 00:58:08 +01:00
parent e1dc9e549f
commit 5efa7ef677

View file

@ -882,6 +882,9 @@ chm_ban(struct Client *source_p, struct Channel *chptr,
forward = NULL; forward = NULL;
else if(!check_forward(source_p, chptr, forward)) else if(!check_forward(source_p, chptr, forward))
return; return;
/* Forwards only make sense for bans. */
if(mode_type != CHFL_BAN)
return;
} }
/* dont allow local clients to overflow the banlist, dont /* dont allow local clients to overflow the banlist, dont