summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0092.py
diff options
context:
space:
mode:
authorThom Nichols <tmnichols@gmail.com>2010-06-01 22:54:30 -0400
committerThom Nichols <tmnichols@gmail.com>2010-06-01 22:54:30 -0400
commit49f5767aea2815211349d93aa03ce2b9dc088c1e (patch)
tree3a63f08d009dc7d16560ac2fc464482649b4cd47 /sleekxmpp/plugins/xep_0092.py
parent3e83b16a586b34dd686a4aeaea77c50a92f54b51 (diff)
parente6c2fde2834fafbc35b52da7e523f2b351f53a15 (diff)
downloadslixmpp-49f5767aea2815211349d93aa03ce2b9dc088c1e.tar.gz
slixmpp-49f5767aea2815211349d93aa03ce2b9dc088c1e.tar.bz2
slixmpp-49f5767aea2815211349d93aa03ce2b9dc088c1e.tar.xz
slixmpp-49f5767aea2815211349d93aa03ce2b9dc088c1e.zip
merged changes from fritzy
Diffstat (limited to 'sleekxmpp/plugins/xep_0092.py')
-rw-r--r--sleekxmpp/plugins/xep_0092.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0092.py b/sleekxmpp/plugins/xep_0092.py
index 3d026382..aeebbe0c 100644
--- a/sleekxmpp/plugins/xep_0092.py
+++ b/sleekxmpp/plugins/xep_0092.py
@@ -33,7 +33,8 @@ class xep_0092(base.base_plugin):
self.xmpp.add_handler("<iq type='get' xmlns='%s'><query xmlns='jabber:iq:version' /></iq>" % self.xmpp.default_ns, self.report_version)
def post_init(self):
- self.xmpp['xep_0030'].add_feature('jabber:iq:version')
+ base.base_plugin.post_init(self)
+ self.xmpp.plugin['xep_0030'].add_feature('jabber:iq:version')
def report_version(self, xml):
iq = self.xmpp.makeIqResult(xml.get('id', 'unknown'))