summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-12 22:33:01 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-12 22:33:01 +0000
commit3a0ff72c7a56ba9478ca60cbc2a695a992c9ed16 (patch)
treeed0212dd41c327e317f9600eb0fca4819ad64661 /src/gui.py
parent981e12a669424d5685e11104ad03b82a2aac05cd (diff)
downloadpoezio-3a0ff72c7a56ba9478ca60cbc2a695a992c9ed16.tar.gz
poezio-3a0ff72c7a56ba9478ca60cbc2a695a992c9ed16.tar.bz2
poezio-3a0ff72c7a56ba9478ca60cbc2a695a992c9ed16.tar.xz
poezio-3a0ff72c7a56ba9478ca60cbc2a695a992c9ed16.zip
fix an infinie loop on empty line, and the bug with the history message said by a nickname not present anymore
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui.py b/src/gui.py
index a5563cc9..6c84ebbf 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -321,9 +321,9 @@ Avail: Sets your availability to available and (optional) sets your status
"""
Display the error on the room window
"""
+ # if not error:
+ # return
room = self.get_room_by_name(room)
- if not error:
- return
code = error.getAttr('code')
typ = error.getAttr('type')
body = error.getTag('text').getData()