From 624d7791276885ea30354b9227244fd71a7ec359 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 21 Sep 2014 18:03:20 +0200 Subject: [PATCH] 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bandbi.c b/src/bandbi.c index 8b05b0f0..03dd9076 100644 --- a/src/bandbi.c +++ b/src/bandbi.c @@ -424,6 +424,7 @@ bandb_parse(rb_helper *helper) case 'C': bandb_handle_clear(); + break; case 'F': bandb_handle_finish(); break;