Update limit 19.84 -> 22.00

This commit is contained in:
Juerd Waalboer 2023-04-11 23:53:55 +02:00
parent d33cc1fa18
commit dd5b77ce47
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ sub hook_user_balance($class, $username, $old, $delta, $new, @) {
my $sign = $delta->cents >= 0 ? '+' : '-';
my $rood = $new->cents < 0 ? '31;' : '';
my $abs = $delta->abs;
my $warn = $new->cents < -1984 ? " \e[5;1m(!!)\e[0m" : "";
my $warn = $new->cents < -2200 ? " \e[5;1m(!!)\e[0m" : "";
$_ = $_->string("+") for $old, $new;
printf "New balance for $username: $old $sign $abs = \e[${rood}1m$new\e[0m$warn\n",