mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45:40 +08:00
fix for noforce
This commit is contained in:
parent
9bfae5faaa
commit
e210f24194
@ -69,7 +69,7 @@ int sockmap(struct clientparam * param, int timeo){
|
|||||||
while (!stop&&!conf.timetoexit){
|
while (!stop&&!conf.timetoexit){
|
||||||
sasize = sizeof(struct sockaddr_in);
|
sasize = sizeof(struct sockaddr_in);
|
||||||
if(param->version < conf.version){
|
if(param->version < conf.version){
|
||||||
if ((res = (*param->srv->authfunc)(param))) {return(res);}
|
if((res = (*param->srv->authfunc)(param)) && !param->srv->noforce) {return(res);}
|
||||||
param->paused = conf.paused;
|
param->paused = conf.paused;
|
||||||
param->version = conf.version;
|
param->version = conf.version;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user