From: Darren Date: Sat, 22 Jun 2013 13:21:33 +0000 (+0100) Subject: Client: Passing the default nick to a new IRC connection X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3f78c3ced1dc89e132dd9b95299b8a354c4870f6;p=KiwiIRC.git Client: Passing the default nick to a new IRC connection --- 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); }