mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-21 02:02:53 +01:00
Update usage of utils.net functions.
This commit is contained in:
parent
ec045afd9c
commit
4b4bfa0abe
@ -143,7 +143,7 @@ class SocketDriver(drivers.IrcDriver, drivers.ServersMixin):
|
|||||||
server = self._getNextServer()
|
server = self._getNextServer()
|
||||||
drivers.log.connect(self.currentServer)
|
drivers.log.connect(self.currentServer)
|
||||||
try:
|
try:
|
||||||
self.conn = utils.getSocket(server[0])
|
self.conn = utils.net.getSocket(server[0])
|
||||||
vhost = conf.supybot.protocols.irc.vhost()
|
vhost = conf.supybot.protocols.irc.vhost()
|
||||||
self.conn.bind((vhost, 0))
|
self.conn.bind((vhost, 0))
|
||||||
except socket.error, e:
|
except socket.error, e:
|
||||||
|
Loading…
Reference in New Issue
Block a user