Browse Source

log when someone returns (after DC)

master
jcao219 14 years ago
parent
commit
e5120eec99
  1. 3
      wolfgame.py

3
wolfgame.py

@ -944,6 +944,8 @@ def on_join(cli, raw_nick, chan):
cli.msg(chan, "\02{0}\02 has returned to the village.".format(nick)) cli.msg(chan, "\02{0}\02 has returned to the village.".format(nick))
var.LOGGER.logBare(nick, "RETURNED")
@cmd("goat") @cmd("goat")
def goat(cli, nick, chan, rest): def goat(cli, nick, chan, rest):
"""Use a goat to interact with anyone in the channel during the day""" """Use a goat to interact with anyone in the channel during the day"""
@ -1069,6 +1071,7 @@ def on_nick(cli, prefix, nick):
cli.msg(chan, ("\02{0}\02 has returned to "+ cli.msg(chan, ("\02{0}\02 has returned to "+
"the village.").format(nick)) "the village.").format(nick))
var.LOGGER.logBare(nick, "RETURNED")
def leave(cli, what, nick, why=""): def leave(cli, what, nick, why=""):
nick, _, _, cloak = parse_nick(nick) nick, _, _, cloak = parse_nick(nick)

Loading…
Cancel
Save