1 invalidate bans when the user sets +h or -h so they are checked again
3 diff -r 4dafbe6a4b4e ircd/s_user.c
4 --- a/ircd/s_user.c Tue Mar 23 22:17:47 2010 +0100
5 +++ b/ircd/s_user.c Tue Mar 23 22:21:27 2010 +0100
7 * and set the modes, if any
9 for (chan = cli_user(cptr)->channel; chan; chan = chan->next_channel) {
11 + /* Invalidate bans against the user so we check them again */
12 + ClearBanValid(chan);
16 /* If this channel has delayed joins and the user has no modes, just set