if (connection_info.options.encoding)\r
server_info.encoding = connection_info.options.encoding;\r
\r
- this.rpc.call('kiwi.connect', server_info, function (err, server_num) {\r
+ this.rpc.call('kiwi.connect_irc', server_info, function (err, server_num) {\r
if (!err) {\r
callback_fn && callback_fn(err, server_num);\r
\r
Client.prototype.attachKiwiCommands = function() {
var that = this;
- this.rpc.on('kiwi.connect', function(callback, command) {
+ this.rpc.on('kiwi.connect_irc', function(callback, command) {
if (command.hostname && command.port && command.nick) {
var options = {};