Merge pull request #2958 from thelounge/xpaw/ident-bind

Don't fallback to `host` in identd server
This commit is contained in:
Pavel Djundik 2019-01-15 13:32:13 +02:00 committed by GitHub
commit 2f777627b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ class Identification {
const server = net.createServer(this.serverConnection.bind(this)); const server = net.createServer(this.serverConnection.bind(this));
server.listen({ server.listen({
port: Helper.config.identd.port || 113, port: Helper.config.identd.port || 113,
host: Helper.config.bind || Helper.config.host, host: Helper.config.bind,
}, () => { }, () => {
const address = server.address(); const address = server.address();
log.info(`Identd server available on ${colors.green(address.address + ":" + address.port)}`); log.info(`Identd server available on ${colors.green(address.address + ":" + address.port)}`);