From 1c9fc655dd9cd662f751742453caae071f88e57b Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 27 May 2011 23:36:52 +0200 Subject: Fixes #2174 --- src/logger.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/logger.py b/src/logger.py index 4078c46a..ad615f9b 100644 --- a/src/logger.py +++ b/src/logger.py @@ -19,6 +19,7 @@ from os import environ, makedirs import os from datetime import datetime from config import config +from xhtml import clean_text import logging @@ -70,6 +71,7 @@ class Logger(object): if not fd: return try: + msg = clean_text(msg) if nick: fd.write(datetime.now().strftime('%d-%m-%y [%H:%M:%S] ')+nick+': '+msg+'\n') else: -- cgit v1.2.3