diff options
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r-- | sleekxmpp/clientxmpp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py index 73ab8075..7d000bfa 100644 --- a/sleekxmpp/clientxmpp.py +++ b/sleekxmpp/clientxmpp.py @@ -174,8 +174,7 @@ class ClientXMPP(BaseXMPP): if not address: # If all else fails, use the server from the JID. - address = (self.server, 5222) - logging.debug("The server is %s" % self.server) + address = (self.boundjid.host, 5222) return XMLStream.connect(self, address[0], address[1], use_tls=True) |