From 827e27bed91a73958245e270d0ead8c7504e4ec8 Mon Sep 17 00:00:00 2001 From: reality Date: Wed, 24 Jul 2013 22:42:02 +0000 Subject: [PATCH] fix --- modules/command/command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/command/command.js b/modules/command/command.js index 13b3654..49a21b4 100644 --- a/modules/command/command.js +++ b/modules/command/command.js @@ -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(); } else { if(commandName !== '~') {