summaryrefslogtreecommitdiff
path: root/examples
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 /examples
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 'examples')
-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))