summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-10-06 18:45:11 -0400
committerLance Stout <lancestout@gmail.com>2010-10-06 18:45:11 -0400
commit799645f13fb0f8cfac5392594d992a7e951d2273 (patch)
tree5775eb4b27723305f5534ccbe5df81431fcc2704 /sleekxmpp
parentf234dc02cfa3e877699a0d1fdea176fde6852f10 (diff)
downloadslixmpp-799645f13fb0f8cfac5392594d992a7e951d2273.tar.gz
slixmpp-799645f13fb0f8cfac5392594d992a7e951d2273.tar.bz2
slixmpp-799645f13fb0f8cfac5392594d992a7e951d2273.tar.xz
slixmpp-799645f13fb0f8cfac5392594d992a7e951d2273.zip
Updated method names.
Using underscored names where possible.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/clientxmpp.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py
index 2fc13c84..13de39df 100644
--- a/sleekxmpp/clientxmpp.py
+++ b/sleekxmpp/clientxmpp.py
@@ -93,27 +93,27 @@ class ClientXMPP(BaseXMPP):
self.bound = False
self.bindfail = False
- self.registerHandler(
+ self.register_handler(
Callback('Stream Features',
MatchXPath('{%s}features' % self.stream_ns),
self._handle_stream_features))
- self.registerHandler(
+ self.register_handler(
Callback('Roster Update',
MatchXPath('{%s}iq/{%s}query' % (
self.default_ns,
'jabber:iq:roster')),
self._handle_roster))
- self.registerFeature(
+ self.register_feature(
"<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls' />",
self._handle_starttls, True)
- self.registerFeature(
+ self.register_feature(
"<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl' />",
self._handle_sasl_auth, True)
- self.registerFeature(
+ self.register_feature(
"<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind' />",
self._handle_bind_resource)
- self.registerFeature(
+ self.register_feature(
"<session xmlns='urn:ietf:params:xml:ns:xmpp-session' />",
self._handle_start_session)