diff --git a/modules/command/command.js b/modules/command/command.js index 3ad891c..a950199 100644 --- a/modules/command/command.js +++ b/modules/command/command.js @@ -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 !== '~') { diff --git a/modules/command/config.json b/modules/command/config.json index 08bcfe1..ead0df9 100644 --- a/modules/command/config.json +++ b/modules/command/config.json @@ -1,5 +1,5 @@ { "ignorable": false, - "dependencies": [ "ignore", "users" ], + "dependencies": [ "event", "ignore", "users" ], "useNickserv": false }