This commit is contained in:
reality 2013-07-24 22:42:02 +00:00
parent 8e9a6e5c8e
commit 827e27bed9

View File

@ -49,7 +49,7 @@ var command = function(dbot) {
}); });
} }
} }
if(!_.include(['~reload', '~load', '~unload'], commandName)) dbot.api.event.emit('command', [ event ]); if(!_.include(['~reload', '~load', '~unload', '~setconfig'], commandName)) dbot.api.event.emit('command', [ event ]);
dbot.save(); dbot.save();
} else { } else {
if(commandName !== '~') { if(commandName !== '~') {