summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0199.py
diff options
context:
space:
mode:
authorBrian Beggs <macdiesel@gmail.com>2010-06-02 07:32:33 -0400
committerBrian Beggs <macdiesel@gmail.com>2010-06-02 07:32:33 -0400
commit686943a2ec3c97e4e39ee2e38d9fd571ed98dd35 (patch)
treef8a9b69630792567ddae16ce0627ee2c2b1c6caa /sleekxmpp/plugins/xep_0199.py
parentdda3e733b59a9e71482538898a807623a79f0dbf (diff)
parent4eb210bff5753143300e5bf6ae09617901e9a28e (diff)
downloadslixmpp-686943a2ec3c97e4e39ee2e38d9fd571ed98dd35.tar.gz
slixmpp-686943a2ec3c97e4e39ee2e38d9fd571ed98dd35.tar.bz2
slixmpp-686943a2ec3c97e4e39ee2e38d9fd571ed98dd35.tar.xz
slixmpp-686943a2ec3c97e4e39ee2e38d9fd571ed98dd35.zip
Merge remote branch 'tom/hacks'
Diffstat (limited to 'sleekxmpp/plugins/xep_0199.py')
-rw-r--r--sleekxmpp/plugins/xep_0199.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0199.py b/sleekxmpp/plugins/xep_0199.py
index 989e6450..ccaf0b3a 100644
--- a/sleekxmpp/plugins/xep_0199.py
+++ b/sleekxmpp/plugins/xep_0199.py
@@ -35,7 +35,8 @@ class xep_0199(base.base_plugin):
#self.xmpp.add_event_handler('session_start', self.handler_pingserver, threaded=True)
def post_init(self):
- self.xmpp['xep_0030'].add_feature('http://www.xmpp.org/extensions/xep-0199.html#ns')
+ base.base_plugin.post_init(self)
+ self.xmpp.plugin['xep_0030'].add_feature('http://www.xmpp.org/extensions/xep-0199.html#ns')
def handler_pingserver(self, xml):
if not self.running: