Typo in modules/coins.py.send(), 'target' -> 'target_user'

This commit is contained in:
jesopo 2018-10-16 14:46:08 +01:00
parent 0c7c48d752
commit 7a54076de1

View file

@ -316,7 +316,7 @@ class Module(ModuleManager.BaseModule):
return return
target_user = event["server"].get_user(event["args_split"][0]) target_user = event["server"].get_user(event["args_split"][0])
target_user_coins = self._get_user_coins(target) target_user_coins = self._get_user_coins(target_user)
if target_user_coins == None: if target_user_coins == None:
event["stderr"].write("%s: You can only send coins to users that " event["stderr"].write("%s: You can only send coins to users that "
"have had coins before" % event["user"].nickname) "have had coins before" % event["user"].nickname)