Fix something with /me etc.
This commit is contained in:
parent
b7f05a8aaf
commit
587bd44f9b
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class TextBuffer(object):
|
||||||
else:
|
else:
|
||||||
color = None
|
color = None
|
||||||
# TODO: display the bg color too.
|
# 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
|
nickname = None
|
||||||
msg = Message(txt='%s\x19o'%(txt.replace('\t', ' '),), nick_color=nick_color,
|
msg = Message(txt='%s\x19o'%(txt.replace('\t', ' '),), nick_color=nick_color,
|
||||||
time=time, str_time=time.strftime("%Y-%m-%d %H:%M:%S")\
|
time=time, str_time=time.strftime("%Y-%m-%d %H:%M:%S")\
|
||||||
|
|
Loading…
Reference in a new issue