From 7bc13937e422de6bdc02c2a739854be4fe6ccc7f Mon Sep 17 00:00:00 2001 From: "Vgr E. Barry" Date: Wed, 25 Jan 2017 21:27:24 -0500 Subject: [PATCH] Don't say that someone has already joined if they're not logged in --- src/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 3ac27c0..f583cf8 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -894,7 +894,7 @@ def join_player(var, wrapper, who=None, forced=False, *, sanity=True): else: if not botconfig.DEBUG_MODE: for nick in pl: - if users._get(nick).lower().account == temp.account: # FIXME + if users.equals(users._get(nick).account, temp.account): # FIXME msg = messages["account_already_joined"] if who is wrapper.source: who.send(msg.format(who, "your", messages["join_swap_instead"].format(botconfig.CMD_CHAR)), notice=True)