summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-11 22:26:19 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-11 22:26:19 +0000
commite5f82cdacdac6f446faf3138f8eeca7f66a77b90 (patch)
treed747a7019d4940de5ef0908f6cb0dbc39678ef2f
parentad33a28e2844939649903fe4f552439715f1531c (diff)
downloadpoezio-e5f82cdacdac6f446faf3138f8eeca7f66a77b90.tar.gz
poezio-e5f82cdacdac6f446faf3138f8eeca7f66a77b90.tar.bz2
poezio-e5f82cdacdac6f446faf3138f8eeca7f66a77b90.tar.xz
poezio-e5f82cdacdac6f446faf3138f8eeca7f66a77b90.zip
last words are collected in the last 40 messages
-rw-r--r--src/gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.py b/src/gui.py
index d41cebf9..0a56caba 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -527,7 +527,7 @@ class Gui(object):
# build the list of the recent words
char_we_dont_want = [',', '(', ')', '.']
words = list()
- for msg in self.current_room().messages[:-9:-1]:
+ for msg in self.current_room().messages[:-40:-1]:
if not msg:
continue
for word in msg.txt.split():