mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-24 02:55:40 +08:00
Corrected: acl was ignored if preacl is empty
This commit is contained in:
parent
cc8d3fc494
commit
7124b4a141
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user