summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-06-25 15:57:07 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-06-25 15:57:07 +0200
commitd0231331fa3796c286621f76132698b9f664a373 (patch)
tree37c7311c21863eaeb3769ea1e9ba0252c023ffa1 /src
parent67639847eb9c950b1bfa88206b2a1da7957cdc37 (diff)
downloadpoezio-d0231331fa3796c286621f76132698b9f664a373.tar.gz
poezio-d0231331fa3796c286621f76132698b9f664a373.tar.bz2
poezio-d0231331fa3796c286621f76132698b9f664a373.tar.xz
poezio-d0231331fa3796c286621f76132698b9f664a373.zip
Fixed a stupid crash caused by mathieui. Shame on him.
Diffstat (limited to 'src')
-rw-r--r--src/text_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_buffer.py b/src/text_buffer.py
index e0d0fc1c..a3b5b1fb 100644
--- a/src/text_buffer.py
+++ b/src/text_buffer.py
@@ -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)