From 5cf97bf78700610d682f6d34a8470d9bedb86059 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Tue, 26 Jul 2011 17:57:18 -0500 Subject: [PATCH] fix a slight !admins bug --- wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfgame.py b/wolfgame.py index 30cd182..8101421 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -1860,7 +1860,7 @@ def show_admins(cli, nick, chan, rest): @hook("whoreply") def on_whoreply(cli, server, dunno, chan, dunno1, cloak, dunno3, user, status, dunno4): - if (cloak in botconfig.ADMINS and 'G' not in status and + if ((cloak in botconfig.ADMINS or cloak == botconfig.OWNER) and 'G' not in status and user != botconfig.NICK and cloak not in var.AWAY): admins.append(user)