From 587bd44f9bc2ac0dbd86bfdf4483369ca26b02a2 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Fri, 25 Nov 2011 12:02:03 +0100 Subject: Fix something with /me etc. --- src/text_buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/text_buffer.py b/src/text_buffer.py index 2dded268..3541b9c1 100644 --- a/src/text_buffer.py +++ b/src/text_buffer.py @@ -44,7 +44,7 @@ class TextBuffer(object): else: color = None # TODO: display the bg color too. - txt = ("\x19%s}* \x195}" % (color,))+ nickname + ' ' + txt[4:] + txt = ("\x19%s}* \x195}" % (color or 5,))+ nickname + ' ' + txt[4:] nickname = None msg = Message(txt='%s\x19o'%(txt.replace('\t', ' '),), nick_color=nick_color, time=time, str_time=time.strftime("%Y-%m-%d %H:%M:%S")\ -- cgit v1.2.3