summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-10-04 18:56:02 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-10-04 18:56:02 +0200
commite35bf19aed81ed48a1a3489b4ee3edba69a04b67 (patch)
tree87a8782adf4b565cf56c22e2e823b350798460c8
parentbfcf20f301bb7029f2613122ffc6f4724a8e84dc (diff)
downloadpoezio-e35bf19aed81ed48a1a3489b4ee3edba69a04b67.tar.gz
poezio-e35bf19aed81ed48a1a3489b4ee3edba69a04b67.tar.bz2
poezio-e35bf19aed81ed48a1a3489b4ee3edba69a04b67.tar.xz
poezio-e35bf19aed81ed48a1a3489b4ee3edba69a04b67.zip
fixes #2263
-rw-r--r--src/multiuserchat.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/multiuserchat.py b/src/multiuserchat.py
index 10ea0daf..832b97a7 100644
--- a/src/multiuserchat.py
+++ b/src/multiuserchat.py
@@ -81,4 +81,8 @@ def eject_user(xmpp, jid, nick, reason):
query.append(item)
iq.append(query)
iq['to'] = jid
- return iq.send()
+ try:
+ iq.send()
+ except Exception as e:
+ return e.iq
+