Skip to content

Commit

Permalink
Inflation
Browse files Browse the repository at this point in the history
Roughly 4%
  • Loading branch information
Juerd committed May 17, 2024
1 parent 459093d commit 04cf728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/RevBank/Messages.pm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,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 < -2200 ? " \e[5;1m(!!)\e[0m" : "";
my $warn = $new->cents < -2300 ? " \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",
Expand Down

0 comments on commit 04cf728

Please sign in to comment.