Explorar el Código

Merge remote-tracking branch 'refs/remotes/origin/devel' into devel-logthread

z3APA3A hace 5 años
padre
commit
4965bb5d9f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/auth.c

+ 1 - 1
src/auth.c

@@ -680,7 +680,7 @@ int checkACL2(struct clientparam * param, int pre){
 	struct ace* acentry;
 
 	acentry = pre?param->srv->preacl:param->srv->acl;
-	if(!acentry) {
+	if(!acentry && !pre) {
 		return 0;
 	}
 	for(; acentry; acentry = acentry->next) {