From fb1b18bc2b67c64ff7929fabf2fd33a23eb3329a Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Fri, 25 Jan 2013 03:19:39 +0000 Subject: [PATCH] More typo fixing --- server/irc/commands.js | 13 ++++++------- server/irc/server.js | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/server/irc/commands.js b/server/irc/commands.js index 893e68f..13581e3 100644 --- a/server/irc/commands.js +++ b/server/irc/commands.js @@ -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) { diff --git a/server/irc/server.js b/server/irc/server.js index b9c40cc..f52748d 100755 --- a/server/irc/server.js +++ b/server/irc/server.js @@ -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, -- 2.25.1