mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Do not change error code >10 on redirection
This commit is contained in:
1 parent
6279e86086
commit
7335bc2fb6
1 file changed
+1
-1
+1
-1
@@ -317,7 +317,7 @@ int handleredirect(struct clientparam * param, struct ace * acentry){
|
||||
}
|
||||
|
||||
if((res = alwaysauth(param))){
|
||||
return (res == 10)? res : 60+res;
|
||||
return (res >= 10)? res : 60+res;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in new issue
Block a user