summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/logger.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/poezio/logger.py b/poezio/logger.py
index d43cc759..ca1f059f 100644
--- a/poezio/logger.py
+++ b/poezio/logger.py
@@ -196,6 +196,7 @@ class Logger:
logged_msg = build_log_message(nick, msg, date=date, typ=typ)
if not logged_msg:
return True
+ jid = str(jid).replace('/', '\\')
if jid in self._fds.keys():
fd = self._fds[jid]
else: