From 8ed9184d94d8b96a8d582d4effd553c6b3f00303 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 7 Jun 2019 20:49:51 -0400 Subject: [PATCH] inter --- sopel_modules/SpiceBot/Users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/Users.py b/sopel_modules/SpiceBot/Users.py index a966491..18e8a54 100644 --- a/sopel_modules/SpiceBot/Users.py +++ b/sopel_modules/SpiceBot/Users.py @@ -27,7 +27,7 @@ class BotUsers(): def whois_id(self, nick_id): if nick_id in self.current.keys(): return self.current[nick_id]["nick"] - elif int(nick_id) in self.all.keys() and len(self.all[nick_id]): + elif nick_id in self.all.keys() and len(self.all[nick_id]): return self.all[nick_id][0] else: return None