3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00
This commit is contained in:
reality 2013-07-14 09:50:51 +00:00
parent 1171637e42
commit 9abecc6232

View File

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