forked from GitHub/dbot
fix
This commit is contained in:
parent
302023e14e
commit
8e9a6e5c8e
@ -189,8 +189,7 @@ var commands = function(dbot) {
|
|||||||
configPath = configPath.split('.');
|
configPath = configPath.split('.');
|
||||||
if(_.has(dbot.config.modules, configPath[0])) {
|
if(_.has(dbot.config.modules, configPath[0])) {
|
||||||
configPath.splice(0, 0, 'modules');
|
configPath.splice(0, 0, 'modules');
|
||||||
event.params[1] = configPath.join('.');
|
event.input[1] = configPath.join('.');
|
||||||
event.reply(event.params);
|
|
||||||
this.commands['~setconfig'](event);
|
this.commands['~setconfig'](event);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user