Merge pull request #113 from SpiceBot/development

Development
This commit is contained in:
Deathbybandaid 2019-09-18 08:33:14 -04:00 committed by GitHub
commit c3d2c007c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -476,7 +476,7 @@ class BotUsers():
# not a registered nick
if "unregged" not in targetbypass:
if bot.config.SpiceBot_regnick.regnick:
if str(nick).lower() not in [x.lower() for x in self.dict["registered"]]:
if str(target).lower() not in [x.lower() for x in self.dict["registered"]]:
return {"targetgood": False, "error": "It looks like " + self.nick_actual(target) + " is not a registered nick.", "reason": "unregged"}
return targetgood