Merge pull request #112 from deathbybandaid/development

target
This commit is contained in:
Deathbybandaid 2019-09-18 08:32:56 -04:00 committed by GitHub
commit 84934de7e2
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 # not a registered nick
if "unregged" not in targetbypass: if "unregged" not in targetbypass:
if bot.config.SpiceBot_regnick.regnick: 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": False, "error": "It looks like " + self.nick_actual(target) + " is not a registered nick.", "reason": "unregged"}
return targetgood return targetgood