More typo fixing
authorJack Allnutt <m2ys4u@gmail.com>
Fri, 25 Jan 2013 03:19:39 +0000 (03:19 +0000)
committerDarren <darren@darrenwhitlen.com>
Thu, 31 Jan 2013 14:58:43 +0000 (14:58 +0000)
server/irc/commands.js
server/irc/server.js

index 893e68f0c94564c52823e249a8de98b2064c7764..13581e3de16d5605fa3acea582b01570da70a9e2 100644 (file)
@@ -180,16 +180,15 @@ var listeners = {
         this.irc_connection.emit('server:' + this.irc_connection.irc_host.hostname + ':list_end', {});
     },
     'RPL_LIST': function (command) {
-            this.irc_connection.emit('server:' + this.irc_connection.irc_host.hostname + ':list_channel', {
-                channel: command.params[1],
-                num_users: parseint(command.params[2], 10),
-                topic: command.trailing
-            });
-        }
+        this.irc_connection.emit('server:' + this.irc_connection.irc_host.hostname + ':list_channel', {
+            channel: command.params[1],
+            num_users: parseint(command.params[2], 10),
+            topic: command.trailing
+        });
     },
     'RPL_MOTD': function (command) {
         this.irc_connection.emit('server:'  + this.irc_connection.irc_host.hostname + ':motd', {
-            motd: command.trailing + '\n';
+            motd: command.trailing + '\n'
         });
     },
     'RPL_MOTDSTART': function (command) {
index b9c40cc7f026e15ef23dd79bfc38d5cdca92a026..f52748dead12c3f36fce32efe8abf9e8d45bd864 100755 (executable)
@@ -30,11 +30,11 @@ IrcServer.prototype.irc_events = {
     error:                  onError,
     channel_redirect:       onChannelRedirect,
     no_such_nick:           onNoSuchNick,
-    cannot_send_to_channel: onChannotSendToChan,
+    cannot_send_to_channel: onCannotSendToChan,
     too_many_channels:      onTooManyChannels,
     user_not_in_channel:    onUserNotInChannel,
     not_on_channel:         onNotOnChannel,
-    channel_is_full:        onChannelisFull,
+    channel_is_full:        onChannelIsFull,
     invite_only_channel:    onInviteOnlyChannel,
     banned_from_channel:    onBannedFromChannel,
     bad_channel_key:        onBadChannelKey,