From bfc6b6f8cf65dabd46fdf66e5fa5dfd5e22027e4 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Wed, 20 Aug 2014 01:26:32 -0400 Subject: [PATCH] small cleanup / bugfix in !roles --- modules/wolfgame.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index dc9b8f1..291e2d9 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -5291,11 +5291,7 @@ def listroles(cli, nick, chan, rest): continue elif var.ROLE_INDEX[i] > index: break - if (var.ROLE_INDEX[i] <= pl): - txt += BOLD - txt += " [" + str(var.ROLE_INDEX[i]) + "] " - if (var.ROLE_INDEX[i] <= pl): - txt += BOLD + txt += " {0}[{1}]{0} ".format(BOLD if var.ROLE_INDEX[i] <= pl else "", str(var.ROLE_INDEX[i])) roles = [] for role, amount in var.ROLE_GUIDE.items(): direction = 1 if amount[i] > old[role] else -1