aboutsummaryrefslogtreecommitdiff
path: root/modules/coins.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-02 13:09:09 +0000
committerGravatar jesopo2018-11-02 13:09:09 +0000
commit9b2040e2803d5d37621498e28a140edc986e6c12 (patch)
treedd6c8057c53aabb42c20c5e4bc593577d1e14c5e /modules/coins.py
parentDon't let users bet 0 coins (diff)
signature
Show wallet balances in a human format (with ","s)
Diffstat (limited to 'modules/coins.py')
-rw-r--r--modules/coins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/coins.py b/modules/coins.py
index cd4e8b27..a58df4d1 100644
--- a/modules/coins.py
+++ b/modules/coins.py
@@ -238,7 +238,7 @@ class Module(ModuleManager.BaseModule):
(event["user"].nickname, wallet))
coins = self._get_user_coins(event["user"], wallet)
event["stdout"].write("%s: you have %s coins in your '%s' wallet" %
- (event["user"].nickname, self._coin_str(coins), wallet))
+ (event["user"].nickname, self._coin_str_human(coins), wallet))
@utils.hook("received.command.addwallet", authenticated=True, min_args=1)
def add_wallet(self, event):