mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
fix
This commit is contained in:
parent
8e9a6e5c8e
commit
827e27bed9
@ -49,7 +49,7 @@ var command = function(dbot) {
|
||||
});
|
||||
}
|
||||
}
|
||||
if(!_.include(['~reload', '~load', '~unload'], commandName)) dbot.api.event.emit('command', [ event ]);
|
||||
if(!_.include(['~reload', '~load', '~unload', '~setconfig'], commandName)) dbot.api.event.emit('command', [ event ]);
|
||||
dbot.save();
|
||||
} else {
|
||||
if(commandName !== '~') {
|
||||
|
Loading…
Reference in New Issue
Block a user