summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0078.py
diff options
context:
space:
mode:
authorTom Nichols <tmnichols@gmail.com>2010-07-09 17:25:11 -0400
committerTom Nichols <tmnichols@gmail.com>2010-07-09 17:25:11 -0400
commit9c5285987dd5cc6052d04f113cae97806101e5d0 (patch)
tree43f1c62e79b741688a06e24f2758e445db8cc21b /sleekxmpp/plugins/xep_0078.py
parentd09cbef9a73b30b7da56ccbd6ee2558991d2f9cb (diff)
downloadslixmpp-9c5285987dd5cc6052d04f113cae97806101e5d0.tar.gz
slixmpp-9c5285987dd5cc6052d04f113cae97806101e5d0.tar.bz2
slixmpp-9c5285987dd5cc6052d04f113cae97806101e5d0.tar.xz
slixmpp-9c5285987dd5cc6052d04f113cae97806101e5d0.zip
removed ClientXMPP.server in favor of ClientXMPP.domain
Diffstat (limited to 'sleekxmpp/plugins/xep_0078.py')
-rw-r--r--sleekxmpp/plugins/xep_0078.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0078.py b/sleekxmpp/plugins/xep_0078.py
index f8732905..e1e31e46 100644
--- a/sleekxmpp/plugins/xep_0078.py
+++ b/sleekxmpp/plugins/xep_0078.py
@@ -45,7 +45,7 @@ class xep_0078(base.base_plugin):
logging.debug("Starting jabber:iq:auth Authentication")
auth_request = self.xmpp.makeIqGet()
auth_request_query = ET.Element('{jabber:iq:auth}query')
- auth_request.attrib['to'] = self.xmpp.server
+ auth_request.attrib['to'] = self.xmpp.domain
username = ET.Element('username')
username.text = self.xmpp.username
auth_request_query.append(username)