diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-25 12:02:03 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-25 12:02:03 +0100 |
commit | 587bd44f9bc2ac0dbd86bfdf4483369ca26b02a2 (patch) | |
tree | a1c953b1a98a1435f126177120fe5dd484589b6e | |
parent | b7f05a8aafd87b103b2ee04540370baad94a9f5e (diff) | |
download | poezio-587bd44f9bc2ac0dbd86bfdf4483369ca26b02a2.tar.gz poezio-587bd44f9bc2ac0dbd86bfdf4483369ca26b02a2.tar.bz2 poezio-587bd44f9bc2ac0dbd86bfdf4483369ca26b02a2.tar.xz poezio-587bd44f9bc2ac0dbd86bfdf4483369ca26b02a2.zip |
Fix something with /me etc.
-rw-r--r-- | src/text_buffer.py | 2 |
1 files changed, 1 insertions, 1 deletions
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")\ |