mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
target
This commit is contained in:
parent
349bc71273
commit
7f50a31b90
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user