From: Darren Date: Sat, 12 Jul 2014 17:54:29 +0000 (+0100) Subject: Incorrect context for parseModeList() X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4b75639093ea66ab0585036095d4ab91f99dfa4d;p=KiwiIRC.git Incorrect context for parseModeList() --- diff --git a/server/irc/commands/channel.js b/server/irc/commands/channel.js index ac35bed..2709b3d 100644 --- a/server/irc/commands/channel.js +++ b/server/irc/commands/channel.js @@ -10,7 +10,7 @@ module.exports = function AddCommandHandlers(command_controller) { var handlers = { RPL_CHANNELMODEIS: function (command) { var channel = command.params[1], - modes = parseModeList.call(this, command.params[2], command.params.slice(3)); + modes = this.parseModeList.call(this, command.params[2], command.params.slice(3)); this.emit('channel ' + channel + ' info', { channel: channel,