From fde409aea2f12b031d23e38be76dbc96f4cc0292 Mon Sep 17 00:00:00 2001 From: skizzerz Date: Fri, 12 Jun 2015 11:21:54 -0500 Subject: [PATCH] Don't show (Account) in fallow/fdeny list if ACCOUNTS_ONLY is set --- src/wolfgame.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index fcd4d30..2dd7e92 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -6483,7 +6483,10 @@ def allow_deny(cli, nick, chan, rest, mode): variable = var.DENY_ACCOUNTS if variable: 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 mode == "allow": variable = var.ALLOW