8
0
Fork 0

Use is_special instead of is_hidden

This commit is contained in:
polyfloyd 2025-06-19 21:46:51 +02:00
parent 6af4afc6ce
commit 9f34c00033
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ sub command :Tab(bigmoney) {
my @list = sort {
(split " ", $b)[1] <=> (split " ", $a)[1]
} grep {
not RevBank::Users::is_hidden($_)
not RevBank::Accounts::is_special($_)
} slurp("accounts");
print join "", @list[0..9];

View file

@ -9,7 +9,7 @@ sub hook_user_balance {
my ($class, $user, $old, $delta, $new, $transaction_id) = @_;
return if $new >= -13.37;
return if RevBank::Users::is_hidden($user);
return if RevBank::Accounts::is_special($user);
publish "bitlair/bank/shame" => "NO MUNNIE?";
}