Fix missing name error

The worst part is that I tested that change quite a lot
This commit is contained in:
Vgr E. Barry 2015-09-02 22:31:16 -04:00
parent bd93e96445
commit 609f3282b8

View File

@ -2497,6 +2497,7 @@ def chk_win(cli, end_game=True, winner=None):
def chk_win_conditions(lpl, lwolves, lcubs, lrealwolves, lmonsters, ltraitors, lpipers, cli, end_game=True, winner=None):
"""Internal handler for the chk_win function."""
chan = botconfig.CHANNEL
with var.GRAVEYARD_LOCK:
message = ""
# fool won, chk_win was called from !lynch