mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
Fix [#443]
This commit is contained in:
parent
be23d97293
commit
2b57300f65
@ -253,7 +253,7 @@ var commands = function(dbot) {
|
|||||||
|
|
||||||
if(configPathString) {
|
if(configPathString) {
|
||||||
var configKey = _.last(configPathString.split('.'));
|
var configKey = _.last(configPathString.split('.'));
|
||||||
if(configKey) {
|
if(!configKey) {
|
||||||
event.reply(dbot.t("no_config_path"));
|
event.reply(dbot.t("no_config_path"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user