]> jfr.im git - solanum.git/commit
bandb: Don't apply empty ban list when bandb starts sending bans.
authorJilles Tjoelker <redacted>
Sun, 21 Sep 2014 16:03:20 +0000 (18:03 +0200)
committerJilles Tjoelker <redacted>
Sun, 21 Sep 2014 16:09:18 +0000 (18:09 +0200)
commit624d7791276885ea30354b9227244fd71a7ec359
treeee2513d43fb1760a68bd6d38524481d2b5ecb15e
parent8c04f89623005aaaac3acfcb0d367f6166ef65ac
bandb: Don't apply empty ban list when bandb starts sending bans.

When bandb sends the ban list, it first sends 'C', then all bans and
finally 'F'. Only when 'F' is sent is ircd supposed to apply the bans.
Because of a missing break, 'C' also did 'F', clearing the ircd active
permanent bans until bandb sent 'F'.

The effect is pretty limited because having bandb send the ban list via
/rehash bans is uncommon and most bans will be enforced when reset.
src/bandbi.c