forked from GitHub/dbot
fix command emit on reload
This commit is contained in:
parent
b71c9e4504
commit
5bf6088453
@ -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 !== '~') {
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"ignorable": false,
|
||||
"dependencies": [ "ignore", "users" ],
|
||||
"dependencies": [ "event", "ignore", "users" ],
|
||||
"useNickserv": false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user