From 4b75639093ea66ab0585036095d4ab91f99dfa4d Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 12 Jul 2014 18:54:29 +0100 Subject: [PATCH] Incorrect context for parseModeList() --- server/irc/commands/channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.25.1