From e5120eec991903ecaedd17d9edcbecded0101876 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Wed, 17 Aug 2011 01:50:48 -0500 Subject: [PATCH] log when someone returns (after DC) --- wolfgame.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wolfgame.py b/wolfgame.py index 24adac8..d577cab 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -943,6 +943,8 @@ def on_join(cli, raw_nick, chan): del var.DISCONNECTED[nick] cli.msg(chan, "\02{0}\02 has returned to the village.".format(nick)) + + var.LOGGER.logBare(nick, "RETURNED") @cmd("goat") def goat(cli, nick, chan, rest): @@ -1069,6 +1071,7 @@ def on_nick(cli, prefix, nick): cli.msg(chan, ("\02{0}\02 has returned to "+ "the village.").format(nick)) + var.LOGGER.logBare(nick, "RETURNED") def leave(cli, what, nick, why=""): nick, _, _, cloak = parse_nick(nick)