summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0009/remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0009/remote.py')
-rw-r--r--slixmpp/plugins/xep_0009/remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0009/remote.py b/slixmpp/plugins/xep_0009/remote.py
index 9675c88d..a9f45486 100644
--- a/slixmpp/plugins/xep_0009/remote.py
+++ b/slixmpp/plugins/xep_0009/remote.py
@@ -163,7 +163,7 @@ class ACL:
@classmethod
def _next_token(cls, expression, index):
- new_index = expression.find('*', index)
+ new_index = expression.xml.find('*', index)
if new_index == 0:
return ''
else:
@@ -182,7 +182,7 @@ class ACL:
#! print "[TOKEN] '%s'" % token
size = len(token)
if size > 0:
- token_index = value.find(token, position)
+ token_index = value.xml.find(token, position)
if token_index == -1:
return False
else: