From ef39327073269a99c3150029b905916e51da61df Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 24 Jul 2018 13:21:36 +0100 Subject: [PATCH] fix CommandMap typo Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/autocomplete/CommandProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autocomplete/CommandProvider.js b/src/autocomplete/CommandProvider.js index 9ebac031a8..a35a31966a 100644 --- a/src/autocomplete/CommandProvider.js +++ b/src/autocomplete/CommandProvider.js @@ -48,7 +48,7 @@ export default class CommandProvider extends AutocompleteProvider { const name = command[1].substr(1); // strip leading `/` if (CommandMap[name]) { // some commands, namely `me` and `ddg` don't suit having the usage shown whilst typing their arguments - if (!CommandMap[name].hideCompletionAfterSpace) return []; + if (CommandMap[name].hideCompletionAfterSpace) return []; matches = [CommandMap[name]]; } } else {