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