summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0092.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_0092.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_0092.py')
-rw-r--r--sleekxmpp/plugins/xep_0092.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0092.py b/sleekxmpp/plugins/xep_0092.py
index aeebbe0c..22ae919d 100644
--- a/sleekxmpp/plugins/xep_0092.py
+++ b/sleekxmpp/plugins/xep_0092.py
@@ -38,7 +38,7 @@ class xep_0092(base.base_plugin):
def report_version(self, xml):
iq = self.xmpp.makeIqResult(xml.get('id', 'unknown'))
- iq.attrib['to'] = xml.get('from', self.xmpp.server)
+ iq.attrib['to'] = xml.get('from', self.xmpp.domain)
query = ET.Element('{jabber:iq:version}query')
name = ET.Element('name')
name.text = self.name