From bde8d6b26ce5e8a777ac30399f0b1aec44342c46 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Tue, 14 Jun 2005 22:08:48 +0000 Subject: [PATCH] hopefully the last srv commit --- src/common/xmpp/transports.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/xmpp/transports.py b/src/common/xmpp/transports.py index c9295b9ae..2357ef75f 100644 --- a/src/common/xmpp/transports.py +++ b/src/common/xmpp/transports.py @@ -56,7 +56,6 @@ class TCPsocket(PlugIn): PlugIn.__init__(self) self.DBG_LINE='socket' self._exported_methods=[self.send,self.disconnect] - self._server = server # SRV resolver if 'dns' in globals(): # if dnspython is available support SRV @@ -76,9 +75,11 @@ class TCPsocket(PlugIn): except: pass - server = (host, port) + server = (host, port) # end of SRV resolver + self._server = server + def plugin(self, owner): """ Fire up connection. Return non-empty string on success. Also registers self.disconnected method in the owner's dispatcher.