Typo in modules/coins.py, 'user' -> 'event["user"]'
This commit is contained in:
parent
f5ac44f1c6
commit
fc36e5bbeb
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if not self._user_has_wallet(event["user"], wallet):
|
if not self._user_has_wallet(event["user"], wallet):
|
||||||
raise utils.EventError("%s: you don't have a '%s' wallet" %
|
raise utils.EventError("%s: you don't have a '%s' wallet" %
|
||||||
(event["user"].nickname, 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["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(coins), wallet))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue