diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-10-04 18:56:02 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-10-04 18:56:02 +0200 |
commit | e35bf19aed81ed48a1a3489b4ee3edba69a04b67 (patch) | |
tree | 87a8782adf4b565cf56c22e2e823b350798460c8 /src | |
parent | bfcf20f301bb7029f2613122ffc6f4724a8e84dc (diff) | |
download | poezio-e35bf19aed81ed48a1a3489b4ee3edba69a04b67.tar.gz poezio-e35bf19aed81ed48a1a3489b4ee3edba69a04b67.tar.bz2 poezio-e35bf19aed81ed48a1a3489b4ee3edba69a04b67.tar.xz poezio-e35bf19aed81ed48a1a3489b4ee3edba69a04b67.zip |
fixes #2263
Diffstat (limited to 'src')
-rw-r--r-- | src/multiuserchat.py | 6 |
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 + |