diff options
author | Hernan E Grecco <hernan-edgardo.grecco@mpi-dortmund.mpg.de> | 2010-05-26 06:10:34 +0800 |
---|---|---|
committer | Thom Nichols <tmnichols@gmail.com> | 2010-06-01 22:07:51 +0800 |
commit | d4520850497523f310706eb2853d8a4e14e4d3bd (patch) | |
tree | d25f80ae49621785ea5178e3073c9fd874443183 /sleekxmpp/plugins/xep_0199.py | |
parent | 8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea (diff) | |
download | slixmpp-d4520850497523f310706eb2853d8a4e14e4d3bd.tar.gz slixmpp-d4520850497523f310706eb2853d8a4e14e4d3bd.tar.bz2 slixmpp-d4520850497523f310706eb2853d8a4e14e4d3bd.tar.xz slixmpp-d4520850497523f310706eb2853d8a4e14e4d3bd.zip |
Fixed error registering a plugin. To add a feature to another plugin, it should look into xmpp.plugin dict
Diffstat (limited to 'sleekxmpp/plugins/xep_0199.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0199.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0199.py b/sleekxmpp/plugins/xep_0199.py index 989e6450..9b10b927 100644 --- a/sleekxmpp/plugins/xep_0199.py +++ b/sleekxmpp/plugins/xep_0199.py @@ -35,7 +35,7 @@ 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') + 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: |