fix setconfig

This commit is contained in:
reality 2013-07-24 22:31:04 +00:00
parent 8dd2a6a97c
commit 9bc4128e3a

View File

@ -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;