mirror of
https://github.com/3proxy/3proxy.git
synced 2025-04-16 17:22:09 +08:00
Do not change error code >10 on redirection
This commit is contained in:
parent
6279e86086
commit
7335bc2fb6
@ -317,7 +317,7 @@ int handleredirect(struct clientparam * param, struct ace * acentry){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if((res = alwaysauth(param))){
|
if((res = alwaysauth(param))){
|
||||||
return (res == 10)? res : 60+res;
|
return (res >= 10)? res : 60+res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user