3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +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(); dbot.save();
} else { } else {
if(commandName !== '~') { if(commandName !== '~') {