This commit fixes #9.

This commit is contained in:
Luke Rogers 2012-02-19 15:06:20 +13:00
parent d627f6f398
commit d67d03d3ff

View file

@ -89,11 +89,6 @@ def log(paraml, input=None, bot=None):
fd = get_log_fd(bot.persist_dir, input.server, 'raw') fd = get_log_fd(bot.persist_dir, input.server, 'raw')
fd.write(timestamp + ' ' + input.raw + '\n') 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) beau = beautify(input)
if beau == '': # don't log this if beau == '': # don't log this