Renaming kiwi.connect to kiwi.connect_irc #509
authorDarren <darren@darrenwhitlen.com>
Sat, 10 May 2014 20:08:23 +0000 (21:08 +0100)
committerDarren <darren@darrenwhitlen.com>
Sat, 10 May 2014 20:08:23 +0000 (21:08 +0100)
client/src/models/gateway.js
server/client.js

index 023a08fd84c08aeef0c68a9f3a565c3a2b386228..45106a7127c1b719453e7ef475331e2792691b0b 100644 (file)
@@ -174,7 +174,7 @@ _kiwi.model.Gateway = function () {
         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
index 8a0bc5f8d3828d1f0d5e7ffd54032c8462cb0ad9..5f4b66542ccb6b30c1c0d3164ec9581a0773a5a9 100755 (executable)
@@ -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 = {};