mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-17 23:52:49 +01:00
parent
9a01a5285f
commit
a3ff32c22e
@ -201,6 +201,10 @@ class Irc():
|
|||||||
self.socket = socket.socket(stype)
|
self.socket = socket.socket(stype)
|
||||||
self.socket.setblocking(0)
|
self.socket.setblocking(0)
|
||||||
|
|
||||||
|
# Set the socket bind if applicable.
|
||||||
|
if 'bindhost' in self.serverdata:
|
||||||
|
self.socket.bind((self.serverdata['bindhost'], 0))
|
||||||
|
|
||||||
# Set the connection timeouts. Initial connection timeout is a
|
# Set the connection timeouts. Initial connection timeout is a
|
||||||
# lot smaller than the timeout after we've connected; this is
|
# lot smaller than the timeout after we've connected; this is
|
||||||
# intentional.
|
# intentional.
|
||||||
|
@ -88,6 +88,9 @@ servers:
|
|||||||
recvpass: "abcd"
|
recvpass: "abcd"
|
||||||
sendpass: "abcd"
|
sendpass: "abcd"
|
||||||
|
|
||||||
|
# Set the bind host, useful for multi-homed hosts.
|
||||||
|
#bindhost: 1.2.3.4
|
||||||
|
|
||||||
# The full network name, used by plugins.
|
# The full network name, used by plugins.
|
||||||
netname: "InspIRCd Network"
|
netname: "InspIRCd Network"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user