From 3f78c3ced1dc89e132dd9b95299b8a354c4870f6 Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 22 Jun 2013 14:21:33 +0100 Subject: [PATCH] Client: Passing the default nick to a new IRC connection --- client/assets/src/models/gateway.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/assets/src/models/gateway.js b/client/assets/src/models/gateway.js index 7074108..8efb7e7 100644 --- a/client/assets/src/models/gateway.js +++ b/client/assets/src/models/gateway.js @@ -233,7 +233,7 @@ _kiwi.model.Gateway = function () { if (!err) { if (!_kiwi.app.connections.getByConnectionId(server_num)){ - connection = new _kiwi.model.Network({connection_id: server_num}); + connection = new _kiwi.model.Network({connection_id: server_num, nick: h.nick}); _kiwi.app.connections.add(connection); } -- 2.25.1