fix command emit on reload

This commit is contained in:
reality 2013-05-25 21:34:11 +00:00
parent b71c9e4504
commit 5bf6088453
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,5 +1,5 @@
{
"ignorable": false,
"dependencies": [ "ignore", "users" ],
"dependencies": [ "event", "ignore", "users" ],
"useNickserv": false
}