diff --git a/modules/coins.py b/modules/coins.py index efb60edd..c5c11d99 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -156,7 +156,8 @@ class Module(object): "" if coin_bet == 1 else "s")) def send(self, event): - if event["user"].get_id() == event["args_split"][0].get_id(): + if event["user"].get_id() == event["server"].get_user(event[ + "args_split"][0]).get_id(): event["stderr"].write("You can't send coins to yourself") return send_amount = event["args_split"][1]