Fixed a stupid crash caused by mathieui. Shame on him.
This commit is contained in:
parent
67639847eb
commit
d0231331fa
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class TextBuffer(object):
|
||||||
def add_window(self, win):
|
def add_window(self, win):
|
||||||
self.windows.append(win)
|
self.windows.append(win)
|
||||||
|
|
||||||
def add_message(self, txt, time=None, nickname=None, nick_color=None):
|
def add_message(self, txt, time=None, nickname=None, nick_color=None, history=None):
|
||||||
msg = Message(txt='%s\x19o'%(txt,), nick_color=nick_color,
|
msg = Message(txt='%s\x19o'%(txt,), nick_color=nick_color,
|
||||||
time=time or datetime.now(), nickname=nickname, user=None)
|
time=time or datetime.now(), nickname=nickname, user=None)
|
||||||
self.messages.append(msg)
|
self.messages.append(msg)
|
||||||
|
|
Loading…
Reference in a new issue