0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 08:13:46 +02:00

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.
This commit is contained in:
Jilles Tjoelker 2014-09-21 18:03:20 +02:00
parent 8c04f89623
commit 624d779127

View file

@ -424,6 +424,7 @@ bandb_parse(rb_helper *helper)
case 'C':
bandb_handle_clear();
break;
case 'F':
bandb_handle_finish();
break;