'connect' event correctly sent to client
authorDarren <darren@darrenwhitlen.com>
Thu, 20 Sep 2012 19:16:11 +0000 (20:16 +0100)
committerDarren <darren@darrenwhitlen.com>
Thu, 20 Sep 2012 19:16:11 +0000 (20:16 +0100)
server/irc-commands.js

index b777d86c88387f4d810a9e8fbc7b20c4a75de836..09e16c62fcb331101dec961a6f1f745af9c5db5f 100755 (executable)
@@ -65,7 +65,7 @@ var listeners = {
     'RPL_WELCOME':            function (command) {
                 var nick =  command.params[0];
                 this.irc_connection.registered = true;
-                this.client.sendKiwiCommand({server: this.con_num, command: 'connect', nick: nick});
+                this.client.sendIRCCommand('connect', {server: this.con_num, nick: nick});
             },
     'RPL_ISUPPORT':           function (command) {
                 var options, i, option, matches, j;