summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-02-25 09:53:35 -0800
committerLance Stout <lancestout@gmail.com>2013-02-25 09:53:35 -0800
commit82bbe5d1a67613d5e1a23bec4260b9e6644d339b (patch)
tree2d7a61c4f64afc7485e5a6ae71b0fe972ab8d1e4 /docs
parent9a45ebd98bb03120f1eca3945eaa8777abe8ece0 (diff)
parenta1d71d31e85df2cf6efc835c30592126ca9861f2 (diff)
downloadslixmpp-82bbe5d1a67613d5e1a23bec4260b9e6644d339b.tar.gz
slixmpp-82bbe5d1a67613d5e1a23bec4260b9e6644d339b.tar.bz2
slixmpp-82bbe5d1a67613d5e1a23bec4260b9e6644d339b.tar.xz
slixmpp-82bbe5d1a67613d5e1a23bec4260b9e6644d339b.zip
Merge branch 'develop'
Diffstat (limited to 'docs')
-rw-r--r--docs/create_plugin.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/create_plugin.rst b/docs/create_plugin.rst
index 12efa84c..2b0514b8 100644
--- a/docs/create_plugin.rst
+++ b/docs/create_plugin.rst
@@ -222,7 +222,7 @@ handler function to process registration requests.
self.description = "In-Band Registration"
self.xep = "0077"
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('In-Band Registration',
MatchXPath('{%s}iq/{jabber:iq:register}query' % self.xmpp.default_ns),
self.__handleRegistration))
@@ -601,7 +601,7 @@ with some additional registration fields implemented.
self.form_instructions = ""
self.backend = UserStore()
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('In-Band Registration',
MatchXPath('{%s}iq/{jabber:iq:register}query' % self.xmpp.default_ns),
self.__handleRegistration))