// Allow plugins to change the startup applet\r
registerStartupApplet: function(startup_applet_name) {\r
_kiwi.app.startup_applet_name = startup_applet_name;\r
+ },\r
+\r
+ /**\r
+ * Open a new IRC connection\r
+ * @param {Object} connection_details {nick, host, port, ssl, password, options}\r
+ * @param {Function} callback function(err, network){}\r
+ */\r
+ newIrcConnection: function(connection_details, callback) {\r
+ _kiwi.gateway.newConnection(connection_details, callback);\r
}\r
};\r
\r