Browse Source

log when someone returns (after DC)

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

3
wolfgame.py

@ -943,6 +943,8 @@ def on_join(cli, raw_nick, chan): @@ -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): @@ -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)

Loading…
Cancel
Save