3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-28 05:32:50 +01:00
This commit is contained in:
reality 2013-07-14 10:58:59 +00:00
parent 2bdfc55879
commit b86987dc48

View File

@ -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 !== '~') {