From abfb3a8eedf0ac3b3b412138065f9f76765a9dac Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 19 Jun 2019 08:04:47 -0400 Subject: [PATCH] lower --- sopel_modules/SpiceBot/Sherlock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/Sherlock.py b/sopel_modules/SpiceBot/Sherlock.py index 00efe7f..a5e66f2 100644 --- a/sopel_modules/SpiceBot/Sherlock.py +++ b/sopel_modules/SpiceBot/Sherlock.py @@ -31,7 +31,7 @@ class Sherlock(): self.dict[social_network]["cache"] = dict() def check_network(self, username, social_network): - username = str(username) + username = str(username).lower() if username in list(self.dict[social_network]["cache"].keys()): if time.time() - self.dict[social_network]["cache"][username]["time"] <= 1800: