From 3655c6c8090c4996566c009647944a68a2da6038 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Fri, 8 Jul 2011 10:35:24 -0500 Subject: [PATCH] fixed small bug in !stats --- wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfgame.py b/wolfgame.py index 376845a..11ba791 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -230,7 +230,7 @@ def stats(cli, nick, chan, rest): message = [] f = False - for role in var.ROLES.keys(): + for role in set(list(var.ROLES.keys())+list(var.ORIGINAL_ROLES.keys())): if not var.ROLES[role]: continue # Never had this role, don't list it. count = len(var.ROLES[role])