From aae35fd366d53e8823366d70b48462d9342eb304 Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 10 May 2014 21:08:23 +0100 Subject: [PATCH] Renaming kiwi.connect to kiwi.connect_irc #509 --- client/src/models/gateway.js | 2 +- server/client.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = {}; -- 2.25.1