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
committerThom Nichols <tmnichols@gmail.com>2010-06-01 22:07:51 +0800
commitd4520850497523f310706eb2853d8a4e14e4d3bd (patch)
treed25f80ae49621785ea5178e3073c9fd874443183 /sleekxmpp/plugins/xep_0009.py
parent8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea (diff)
downloadslixmpp-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_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.