1 invalidate bans when the user sets +h or -h so they are checked again
3 diff -r 9d816a3c603b ircd/m_sethost.c
4 --- a/ircd/m_sethost.c Thu Mar 25 12:27:05 2010 +0100
5 +++ b/ircd/m_sethost.c Thu Mar 25 12:34:09 2010 +0100
7 * and set the modes, if any
9 for (chan = cli_user(target)->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
17 diff -r 9d816a3c603b ircd/s_user.c
18 --- a/ircd/s_user.c Thu Mar 25 12:27:05 2010 +0100
19 +++ b/ircd/s_user.c Thu Mar 25 12:34:09 2010 +0100
20 @@ -1152,6 +1152,10 @@
21 * and set the modes, if any
23 for (chan = cli_user(cptr)->channel; chan; chan = chan->next_channel) {
25 + /* Invalidate bans against the user so we check them again */
26 + ClearBanValid(chan);
30 /* If this channel has delayed joins and the user has no modes, just set