summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0202/time.py
diff options
context:
space:
mode:
authorAnton Ryzhov <anton@ryzhov.me>2013-02-22 01:48:03 +0400
committerAnton Ryzhov <anton@ryzhov.me>2013-02-22 01:48:03 +0400
commitd9906756cfc546bd182688fdcaeb0aa8fe96e6dd (patch)
treecdb944a57b37d37854329bf9a682a0356fa48368 /sleekxmpp/plugins/xep_0202/time.py
parent8c763fcf43b2690c4f02a9f577fc2d6d72917ee2 (diff)
downloadslixmpp-d9906756cfc546bd182688fdcaeb0aa8fe96e6dd.tar.gz
slixmpp-d9906756cfc546bd182688fdcaeb0aa8fe96e6dd.tar.bz2
slixmpp-d9906756cfc546bd182688fdcaeb0aa8fe96e6dd.tar.xz
slixmpp-d9906756cfc546bd182688fdcaeb0aa8fe96e6dd.zip
Don't use internally deprecated methods
Diffstat (limited to 'sleekxmpp/plugins/xep_0202/time.py')
-rw-r--r--sleekxmpp/plugins/xep_0202/time.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0202/time.py b/sleekxmpp/plugins/xep_0202/time.py
index fe20449d..d5b3af37 100644
--- a/sleekxmpp/plugins/xep_0202/time.py
+++ b/sleekxmpp/plugins/xep_0202/time.py
@@ -48,7 +48,7 @@ class XEP_0202(BasePlugin):
self.local_time = default_local_time
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('Entity Time',
StanzaPath('iq/entity_time'),
self._handle_time_request))