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