diff --git a/modules/admin/commands.js b/modules/admin/commands.js index 2680b40..00c4185 100644 --- a/modules/admin/commands.js +++ b/modules/admin/commands.js @@ -253,7 +253,7 @@ var commands = function(dbot) { if(configPathString) { var configKey = _.last(configPathString.split('.')); - if(configKey) { + if(!configKey) { event.reply(dbot.t("no_config_path")); return; }