diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/banip.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/banip.pl b/util/banip.pl index 50374d81..da36c619 100644 --- a/util/banip.pl +++ b/util/banip.pl @@ -143,7 +143,7 @@ foreach( @list ){ } print scalar keys %hash, ",\n"; -foreach (sort keys %hash) { +foreach (sort { $a <=> $b } keys %hash) { print "${_}U,\t"; print "\n" if ++$i % 4 == 0; } |