don't allow users not in the channel to run commands
This commit is contained in:
parent
f8d953f8ab
commit
f9c4ef6b28
@ -133,6 +133,9 @@ class cmd:
|
||||
else:
|
||||
return
|
||||
|
||||
if nick not in var.USERS and not is_fake_nick(nick):
|
||||
return
|
||||
|
||||
if nick in var.USERS and var.USERS[nick]["account"] != "*":
|
||||
acc = irc_lower(var.USERS[nick]["account"])
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user