mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
commit
66d69f815e
@ -474,10 +474,11 @@ class BotUsers():
|
||||
return {"targetgood": False, "error": "It looks like " + self.nick_actual(target) + " is online right now, but in a different channel.", "reason": "diffchannel"}
|
||||
|
||||
# not a registered nick
|
||||
if "unregged" not in targetbypass:
|
||||
if bot.config.SpiceBot_regnick.regnick:
|
||||
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"}
|
||||
# TODO
|
||||
# if "unregged" not in targetbypass:
|
||||
# if bot.config.SpiceBot_regnick.regnick:
|
||||
# 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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user