Use is_special instead of is_hidden
This commit is contained in:
parent
6af4afc6ce
commit
9f34c00033
2 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
|
|
|
@ -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?";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue