Add the outgoing_bind option
Lets the admin choose a local address to bind each outgoing (IRC) socket.
This commit is contained in:
1 parent
6dcb21a032
commit
241768836d
4 files changed
+46
No files matched your search
@@ -86,6 +86,9 @@ void IrcClient::start()
|
||||
this->bridge->send_xmpp_message(this->hostname, "", "Connecting to "s +
|
||||
this->hostname + ":" + port + " (" +
|
||||
(tls ? "encrypted" : "not encrypted") + ")");
|
||||
|
||||
this->bind_addr = Config::get("outgoing_bind", "");
|
||||
|
||||
this->connect(this->hostname, port, tls);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user