Don't show (Account) in fallow/fdeny list if ACCOUNTS_ONLY is set
This commit is contained in:
parent
d87db24f51
commit
fde409aea2
@ -6483,6 +6483,9 @@ def allow_deny(cli, nick, chan, rest, mode):
|
||||
variable = var.DENY_ACCOUNTS
|
||||
if variable:
|
||||
for acc, varied in variable.items():
|
||||
if var.ACCOUNTS_ONLY:
|
||||
cmds[acc] = varied
|
||||
else:
|
||||
cmds[acc+" (Account)"] = varied
|
||||
if not var.ACCOUNTS_ONLY:
|
||||
if mode == "allow":
|
||||
|
Loading…
x
Reference in New Issue
Block a user