Don't use internally deprecated methods

This commit is contained in:
Anton Ryzhov
2013-02-22 01:48:03 +04:00
parent 8c763fcf43
commit d9906756cf
7 changed files with 18 additions and 18 deletions

View File

@@ -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))