From ec67171b2d86a96227eae19d48e8534f9afabe45 Mon Sep 17 00:00:00 2001 From: Darren Date: Fri, 2 Nov 2012 14:52:53 +0000 Subject: [PATCH] Server: Passing correct client addr for webirc usage --- server/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/client.js b/server/client.js index b98d764..0a530bc 100755 --- a/server/client.js +++ b/server/client.js @@ -113,7 +113,7 @@ function kiwiCommand(command, callback) { case 'connect': if (command.hostname && command.port && command.nick) { var con = new IrcConnection(command.hostname, command.port, command.ssl, - command.nick, {hostname: this.websocket.handshake.revdns, address: this.websocket.handshake.address.address}, + command.nick, {hostname: this.websocket.handshake.revdns, address: this.websocket.handshake.real_address}, command.password); var con_num = this.next_connection++; -- 2.25.1