summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0009.py
diff options
context:
space:
mode:
authorHernan E Grecco <hernan-edgardo.grecco@mpi-dortmund.mpg.de>2010-05-26 06:10:34 +0800
committerNathan Fritz <fritzy@netflint.net>2010-05-26 06:49:01 +0800
commitf18c79082490b9b25c72d8c8870dcbf63770ffb6 (patch)
treecb8cd72aab497aa43fa61d1481a8ad33106be4e8 /sleekxmpp/plugins/xep_0009.py
parentf165b4b52b3bbf1989a6144c3e6417f3756c62b6 (diff)
downloadslixmpp-f18c79082490b9b25c72d8c8870dcbf63770ffb6.tar.gz
slixmpp-f18c79082490b9b25c72d8c8870dcbf63770ffb6.tar.bz2
slixmpp-f18c79082490b9b25c72d8c8870dcbf63770ffb6.tar.xz
slixmpp-f18c79082490b9b25c72d8c8870dcbf63770ffb6.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_0009.py')
-rw-r--r--sleekxmpp/plugins/xep_0009.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0009.py b/sleekxmpp/plugins/xep_0009.py
index e0da8296..403f94b9 100644
--- a/sleekxmpp/plugins/xep_0009.py
+++ b/sleekxmpp/plugins/xep_0009.py
@@ -185,8 +185,8 @@ class xep_0009(base.base_plugin):
self.activeCalls = []
def post_init(self):
- self.xmpp['xep_0030'].add_feature('jabber:iq:rpc')
- self.xmpp['xep_0030'].add_identity('automatition','rpc')
+ self.xmpp.plugin['xep_0030'].add_feature('jabber:iq:rpc')
+ self.xmpp.plugin['xep_0030'].add_identity('automatition','rpc')
def register_call(self, method, name=None):
#@returns an string that can be used in acl commands.