summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0009
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-02-22 10:08:35 -0800
committerLance Stout <lancestout@gmail.com>2013-02-22 10:08:35 -0800
commita1d71d31e85df2cf6efc835c30592126ca9861f2 (patch)
treef873e2610061011308f38baff46dac54316e11bb /sleekxmpp/plugins/xep_0009
parent766e0b685d7d13adbcaa6e475c03b3ba96c196b2 (diff)
parent58f5e4702b143208bc80f8a507b358f2c2b1745d (diff)
downloadslixmpp-a1d71d31e85df2cf6efc835c30592126ca9861f2.tar.gz
slixmpp-a1d71d31e85df2cf6efc835c30592126ca9861f2.tar.bz2
slixmpp-a1d71d31e85df2cf6efc835c30592126ca9861f2.tar.xz
slixmpp-a1d71d31e85df2cf6efc835c30592126ca9861f2.zip
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
Diffstat (limited to 'sleekxmpp/plugins/xep_0009')
-rw-r--r--sleekxmpp/plugins/xep_0009/rpc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sleekxmpp/plugins/xep_0009/rpc.py b/sleekxmpp/plugins/xep_0009/rpc.py
index 4e1c538b..3378c650 100644
--- a/sleekxmpp/plugins/xep_0009/rpc.py
+++ b/sleekxmpp/plugins/xep_0009/rpc.py
@@ -32,15 +32,15 @@ class XEP_0009(BasePlugin):
register_stanza_plugin(RPCQuery, MethodCall)
register_stanza_plugin(RPCQuery, MethodResponse)
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('RPC Call', MatchXPath('{%s}iq/{%s}query/{%s}methodCall' % (self.xmpp.default_ns, RPCQuery.namespace, RPCQuery.namespace)),
self._handle_method_call)
)
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('RPC Call', MatchXPath('{%s}iq/{%s}query/{%s}methodResponse' % (self.xmpp.default_ns, RPCQuery.namespace, RPCQuery.namespace)),
self._handle_method_response)
)
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('RPC Call', MatchXPath('{%s}iq/{%s}error' % (self.xmpp.default_ns, self.xmpp.default_ns)),
self._handle_error)
)