diff --git a/modules/coins.py b/modules/coins.py index c2896c5e..2fdd6062 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -183,7 +183,7 @@ class Module(ModuleManager.BaseModule): if not self._user_has_wallet(event["user"], wallet): raise utils.EventError("%s: you don't have a '%s' wallet" % (event["user"].nickname, wallet)) - coins = self._get_user_coins(user, 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))