From e35bf19aed81ed48a1a3489b4ee3edba69a04b67 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 4 Oct 2011 18:56:02 +0200 Subject: fixes #2263 --- src/multiuserchat.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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 + -- cgit v1.2.3