\r
// Takes instances of model_network\r
this.connections = new _kiwi.model.NetworkPanelList();\r
+\r
+ // Set any default settings before anything else is applied\r
+ if (this.server_settings && this.server_settings.client && this.server_settings.client.settings) {\r
+ this.applyDefaultClientSettings(this.server_settings.client.settings);\r
+ }\r
};\r
\r
\r
\r
this.initializeClient();\r
this.initializeGlobals();\r
- this.applyDefaultClientSettings(this.server_settings.client.settings);\r
\r
this.view.barsHide(true);\r
\r
\r
if (this.server_settings.client.channel)\r
defaults.channel = this.server_settings.client.channel;\r
+\r
+ if (this.server_settings.client.channel_key)\r
+ defaults.channel_key = this.server_settings.client.channel_key;\r
}\r
\r
\r
defaults.channel = this.server_settings.connection.channel;\r
}\r
\r
+ if (this.server_settings.connection.channel_key) {\r
+ defaults.channel_key = this.server_settings.connection.channel_key;\r
+ }\r
+\r
if (this.server_settings.connection.nick) {\r
defaults.nick = this.server_settings.connection.nick;\r
}\r