From cef59bce73a6d2ca0eee735d01b3dc8dd2eae3f8 Mon Sep 17 00:00:00 2001 From: "Vgr E. Barry" Date: Sun, 15 Jan 2017 10:03:11 -0500 Subject: [PATCH] Fix small variable error --- src/wolfgame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 40a9aaf..8d620c6 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -897,9 +897,9 @@ def join_player(var, wrapper, who=None, forced=False, *, sanity=True): if users._get(nick).lower().account == temp.account: # FIXME msg = messages["account_already_joined"] if who is wrapper.source: - who.send(msg.format(user, "your", messages["join_swap_instead"].format(botconfig.CMD_CHAR)), notice=True) + who.send(msg.format(who, "your", messages["join_swap_instead"].format(botconfig.CMD_CHAR)), notice=True) else: - who.send(msg.format(user, "their", ""), notice=True) + who.send(msg.format(who, "their", ""), notice=True) return var.ALL_PLAYERS.append(wrapper.source.nick)