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) {
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,