From: Joseph Price Date: Wed, 16 Dec 2015 11:46:47 +0000 (+0000) Subject: Fix `/help command` to pass full command. X-Git-Url: https://jfr.im/git/irc/quakenet/qwebirc.git/commitdiff_plain/13089489f2af66a5cf0200164286c2ca28421340?ds=sidebyside Fix `/help command` to pass full command. Was passing `/help command[0]` to the server previously. This meant `/help topic` returned `t Help not found` for example. --- diff --git a/js/irc/commands.js b/js/irc/commands.js index f55f0a8..5c16785 100644 --- a/js/irc/commands.js +++ b/js/irc/commands.js @@ -220,7 +220,7 @@ qwebirc.irc.Commands = new Class({ cmd_AUTOJOIN: [false, undefined, undefined, function(args) { return ["JOIN", this.parentObject.options.autojoin]; }], - cmd_HELP: [false, undefined, undefined, function(args) { + cmd_HELP: [false, 1, undefined, function(args) { if(qwebirc.global.helpURL) { this.newUIWindow("helpWindow"); } else {