fix bug where you could fdeny the same command multiple times if done by host
This commit is contained in:
parent
b936a4d3c5
commit
835441caea
@ -7347,7 +7347,7 @@ def allow_deny(cli, nick, chan, rest, mode):
|
||||
command = command[len(botconfig.CMD_CHAR):]
|
||||
|
||||
if not rem:
|
||||
if command in COMMANDS and command not in ("fdeny", "fallow", "fsend", "exec", "eval"):
|
||||
if command in COMMANDS and command not in ("fdeny", "fallow", "fsend", "exec", "eval") and command not in variable[cloak]:
|
||||
variable[cloak].append(command)
|
||||
if mode == "allow":
|
||||
var.add_allow(cloak, command)
|
||||
|
Loading…
x
Reference in New Issue
Block a user