3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-26 12:42:51 +01:00

fix indentation and stuff

This commit is contained in:
reality 2017-07-18 14:56:01 +00:00
parent 07156b2eb3
commit ec86b6e1a8

View File

@ -18,7 +18,6 @@ var command = function(dbot) {
} }
commandName = commandName.substring(1); commandName = commandName.substring(1);
this.api.hasAccess(event, commandName, function(hasAccess) { this.api.hasAccess(event, commandName, function(hasAccess) {
dbot.api.ignore.isUserIgnoring(event.rUser, commandName, function(isIgnoring) { dbot.api.ignore.isUserIgnoring(event.rUser, commandName, function(isIgnoring) {
dbot.api.ignore.isUserBanned(event.rUser, commandName, function(isBanned) { dbot.api.ignore.isUserBanned(event.rUser, commandName, function(isBanned) {
@ -73,6 +72,7 @@ var command = function(dbot) {
return; return;
} }
} }
if(this.api.applyRegex(commandName, event)) { if(this.api.applyRegex(commandName, event)) {
try { try {
cDomain.run(function() { cDomain.run(function() {