Don't show (Account) in fallow/fdeny list if ACCOUNTS_ONLY is set

This commit is contained in:
skizzerz 2015-06-12 11:21:54 -05:00
parent d87db24f51
commit fde409aea2

View File

@ -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":