diff options
author | Lance Stout <lancestout@gmail.com> | 2013-02-22 10:08:35 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-02-22 10:08:35 -0800 |
commit | a1d71d31e85df2cf6efc835c30592126ca9861f2 (patch) | |
tree | f873e2610061011308f38baff46dac54316e11bb /examples/custom_stanzas | |
parent | 766e0b685d7d13adbcaa6e475c03b3ba96c196b2 (diff) | |
parent | 58f5e4702b143208bc80f8a507b358f2c2b1745d (diff) | |
download | slixmpp-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/custom_stanzas')
-rwxr-xr-x | examples/custom_stanzas/custom_stanza_provider.py | 2 |
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)) |