Browse Source

fix a slight !admins bug

master
jcao219 13 years ago
parent
commit
5cf97bf787
  1. 2
      wolfgame.py

2
wolfgame.py

@ -1860,7 +1860,7 @@ def show_admins(cli, nick, chan, rest): @@ -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)

Loading…
Cancel
Save