diff options
author | Guillermo Ramos | 2020-03-06 09:54:21 +0100 |
---|---|---|
committer | Guillermo Ramos | 2020-03-06 09:54:21 +0100 |
commit | c6b6bdf43905f0cfd2e8c487473e3ddba71e534d (patch) | |
tree | 3796fe05c7f601337e538c9d57940de99de075c3 | |
parent | ec36940b1fe95a7c64e17d095a9682e8942a45cb (diff) | |
download | bots-c6b6bdf43905f0cfd2e8c487473e3ddba71e534d.tar.gz |
Escato: Fix ordering
-rwxr-xr-x | escato.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ sub show_dumps { push @shures, {username => $shur->{'username'}, data => tg_id_dumps($shur->{'id'})}; } - foreach my $shur (sort { $b->{data}{month} cmp $a->{data}{month} } @shures) { + foreach my $shur (sort { $b->{data}{month} <=> $a->{data}{month} } @shures) { printf "%d - @%s ha cagado %d veces este mes, y %d al año.\n", $position++, $shur->{username}, $shur->{data}{month}, $shur->{data}{year}; } |