summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0325/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0325/control.py')
-rw-r--r--slixmpp/plugins/xep_0325/control.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0325/control.py b/slixmpp/plugins/xep_0325/control.py
index 9a493b02..5c1b3003 100644
--- a/slixmpp/plugins/xep_0325/control.py
+++ b/slixmpp/plugins/xep_0325/control.py
@@ -540,7 +540,7 @@ class XEP_0325(BasePlugin):
fields = [f['name'] for f in iq['setResponse']['datas']]
error_msg = None
- if not iq['setResponse'].find('error') is None and not iq['setResponse']['error']['text'] == "":
+ if not iq['setResponse'].xml.find('error') is None and not iq['setResponse']['error']['text'] == "":
error_msg = iq['setResponse']['error']['text']
callback = self.sessions[seqnr]["callback"]