mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
commit
c3d2c007c5
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user