mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
Don't use keys on scalar
This commit is contained in:
parent
62de9fd223
commit
aa65839827
@ -702,7 +702,7 @@ sub unbanme {
|
||||
my $channels_disabled = '';
|
||||
my $sep_disabled = '';
|
||||
foreach my $channel (keys %$unbanned) {
|
||||
foreach my $mask (keys $unbanned->{$channel}) {
|
||||
foreach my $mask (keys %{ $unbanned->{$channel} }) {
|
||||
if ($self->{pbot}->{channels}->is_active_op("${channel}-floodbans")) {
|
||||
|
||||
if ($unbanned->{$channel}->{$mask} <= 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user