From b86987dc487e2b6d84515fdc4d11478e22260717 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 14 Jul 2013 10:58:59 +0000 Subject: [PATCH] wat --- 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 94f3978..13b3654 100644 --- a/modules/command/command.js +++ b/modules/command/command.js @@ -49,7 +49,7 @@ var command = function(dbot) { }); } } - if(!_.include(commandName, ['~reload', '~load', '~unload'])) dbot.api.event.emit('command', [ event ]); + if(!_.include(['~reload', '~load', '~unload'], commandName)) dbot.api.event.emit('command', [ event ]); dbot.save(); } else { if(commandName !== '~') {