connlim error code corrected (should return 10)

This commit is contained in:
Vladimir Dubrovin committed 2021-11-24 18:22:04 +03:00
1 parent 70b14394b0
commit e1448b9eb1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -658,7 +658,7 @@ int alwaysauth(struct clientparam * param){
int countout = 0;
if(conf.connlimiter && param->remsock == INVALID_SOCKET && startconnlims(param)) return 95;
if(conf.connlimiter && param->remsock == INVALID_SOCKET && startconnlims(param)) return 10;
res = doconnect(param);
if(!res){
if(conf.bandlimfunc && (conf.bandlimiter||conf.bandlimiterout)){