Browse Source

fix a wolf relay bug

master
Jimmy Cao 13 years ago
parent
commit
c4c7c6b258
  1. 3
      wolfgame.py

3
wolfgame.py

@ -1879,7 +1879,8 @@ def mass_privmsg(cli, targets, msg): @@ -1879,7 +1879,8 @@ def mass_privmsg(cli, targets, msg):
@pmcmd("")
def relay(cli, nick, rest):
if var.PHASE != "night":
"""Let the wolves talk to each other through the bot"""
if var.PHASE not in ("night", "day"):
return
badguys = var.ROLES["wolf"] + var.ROLES["traitor"] + var.ROLES["werecrow"]

Loading…
Cancel
Save