summaryrefslogtreecommitdiff
path: root/examples/custom_stanzas/custom_stanza_provider.py
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 /examples/custom_stanzas/custom_stanza_provider.py
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 'examples/custom_stanzas/custom_stanza_provider.py')
-rwxr-xr-xexamples/custom_stanzas/custom_stanza_provider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_stanzas/custom_stanza_provider.py b/examples/custom_stanzas/custom_stanza_provider.py
index b0e00247..0ebdb77e 100755
--- a/examples/custom_stanzas/custom_stanza_provider.py
+++ b/examples/custom_stanzas/custom_stanza_provider.py
@@ -51,7 +51,7 @@ class ActionBot(sleekxmpp.ClientXMPP):
# our roster.
self.add_event_handler("session_start", self.start)
- self.registerHandler(
+ self.register_handler(
Callback('Some custom iq',
StanzaPath('iq@type=set/action'),
self._handle_action))