Reverted earlier commit - it made logs a mess

This commit is contained in:
Luke Rogers 2012-02-24 09:03:02 +13:00
parent c2f9188ec0
commit cb4a27e2a2

View file

@ -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