summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-25 11:17:26 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-25 11:42:50 +0100
commit72c634aaeaaa83e05e159f68191f1f6e4e929c61 (patch)
treed13067b930cca281d598674fe6542890e20300e4
parentac2b71e1eda5423dcfb852c147bafc66fd119703 (diff)
downloadpoezio-72c634aaeaaa83e05e159f68191f1f6e4e929c61.tar.gz
poezio-72c634aaeaaa83e05e159f68191f1f6e4e929c61.tar.bz2
poezio-72c634aaeaaa83e05e159f68191f1f6e4e929c61.tar.xz
poezio-72c634aaeaaa83e05e159f68191f1f6e4e929c61.zip
fixes #2270
-rw-r--r--src/tabs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 76bbb372..3f40ad12 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1319,9 +1319,9 @@ class MucTab(ChatTab):
highlight = self.do_highlight(txt, time, nickname)
if highlight:
nick_color = highlight
- if special_message:
- txt = '\x195}%s' % (txt,)
- nickname = None
+ if special_message:
+ txt = '\x195}%s' % (txt,)
+ nickname = None
time = time or datetime.now()
self._text_buffer.add_message(txt, time, nickname, nick_color, history, user)