From: Darren Date: Sat, 10 May 2014 20:08:23 +0000 (+0100) Subject: Renaming kiwi.connect to kiwi.connect_irc #509 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=aae35fd366d53e8823366d70b48462d9342eb304;p=KiwiIRC.git Renaming kiwi.connect to kiwi.connect_irc #509 --- diff --git a/client/src/models/gateway.js b/client/src/models/gateway.js index 023a08f..45106a7 100644 --- a/client/src/models/gateway.js +++ b/client/src/models/gateway.js @@ -174,7 +174,7 @@ _kiwi.model.Gateway = function () { if (connection_info.options.encoding) server_info.encoding = connection_info.options.encoding; - this.rpc.call('kiwi.connect', server_info, function (err, server_num) { + this.rpc.call('kiwi.connect_irc', server_info, function (err, server_num) { if (!err) { callback_fn && callback_fn(err, server_num); diff --git a/server/client.js b/server/client.js index 8a0bc5f..5f4b665 100755 --- a/server/client.js +++ b/server/client.js @@ -83,7 +83,7 @@ Client.prototype.dispose = function () { 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 = {};