From cb4a27e2a2109d805c27da432714abc12d1b944e Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Fri, 24 Feb 2012 09:03:02 +1300 Subject: [PATCH] Reverted earlier commit - it made logs a mess --- plugins/log.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/log.py b/plugins/log.py index f72ee4c..f05129e 100644 --- a/plugins/log.py +++ b/plugins/log.py @@ -89,6 +89,11 @@ def log(paraml, input=None, bot=None): fd = get_log_fd(bot.persist_dir, input.server, 'raw') fd.write(timestamp + ' ' + input.raw + '\n') + if input.command == 'QUIT': # these are temporary fixes until proper + input.chan = 'quit' # presence tracking is implemented + if input.command == 'NICK': + input.chan = 'nick' + beau = beautify(input) if beau == '': # don't log this