forked from GitHub/dbot
fix setconfig
This commit is contained in:
parent
8dd2a6a97c
commit
9bc4128e3a
@ -188,7 +188,6 @@ 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');
|
||||||
configPath = configPath.join('.');
|
|
||||||
event.params[1] = configPath.join('.');
|
event.params[1] = configPath.join('.');
|
||||||
this.commands['~showconfig'](event);
|
this.commands['~showconfig'](event);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user