summaryrefslogtreecommitdiff
path: root/sleekxmpp/features/sasl_anonymous.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-07-02 21:43:02 -0700
committerLance Stout <lancestout@gmail.com>2011-07-02 21:43:02 -0700
commitb0297af38d6dcd9ebfdaa0131ea798c9fe2b8c63 (patch)
treea22a8054527875e072bcc1eff67be6f364cd47b1 /sleekxmpp/features/sasl_anonymous.py
parent04def6d9256b0d5ef97d75b08ae9330d3c253948 (diff)
downloadslixmpp-b0297af38d6dcd9ebfdaa0131ea798c9fe2b8c63.tar.gz
slixmpp-b0297af38d6dcd9ebfdaa0131ea798c9fe2b8c63.tar.bz2
slixmpp-b0297af38d6dcd9ebfdaa0131ea798c9fe2b8c63.tar.xz
slixmpp-b0297af38d6dcd9ebfdaa0131ea798c9fe2b8c63.zip
Finish cleaning up stream feature organization.
Fixed missing references that weren't caught due to leftover pyc file allowing tests to keep working when they shouldn't have.
Diffstat (limited to 'sleekxmpp/features/sasl_anonymous.py')
-rw-r--r--sleekxmpp/features/sasl_anonymous.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sleekxmpp/features/sasl_anonymous.py b/sleekxmpp/features/sasl_anonymous.py
index 469d9d19..71a4b2e5 100644
--- a/sleekxmpp/features/sasl_anonymous.py
+++ b/sleekxmpp/features/sasl_anonymous.py
@@ -2,7 +2,6 @@ import base64
import sys
import logging
-from sleekxmpp.stanza.stream import sasl
from sleekxmpp.plugins.base import base_plugin
@@ -24,7 +23,7 @@ class sasl_anonymous(base_plugin):
if self.xmpp.boundjid.user:
return False
- resp = sasl.Auth(self.xmpp)
+ resp = self.xmpp['feature_sasl'].stanza.Auth(self.xmpp)
resp['mechanism'] = 'ANONYMOUS'
resp.send(now=True)