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:
parent
8c04f89623
commit
624d779127
1 changed files with 1 additions and 0 deletions
|
@ -424,6 +424,7 @@ bandb_parse(rb_helper *helper)
|
||||||
|
|
||||||
case 'C':
|
case 'C':
|
||||||
bandb_handle_clear();
|
bandb_handle_clear();
|
||||||
|
break;
|
||||||
case 'F':
|
case 'F':
|
||||||
bandb_handle_finish();
|
bandb_handle_finish();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue