Fixed a stupid crash caused by mathieui. Shame on him.

This commit is contained in:
Florent Le Coz 2011-06-25 15:57:07 +02:00
parent 67639847eb
commit d0231331fa

View file

@ -44,7 +44,7 @@ class TextBuffer(object):
def add_window(self, 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,
time=time or datetime.now(), nickname=nickname, user=None)
self.messages.append(msg)