forked from OpenWF/SpaceNinjaServer
		
	chore: disable DTLS (#2511)
Reviewed-on: OpenWF/SpaceNinjaServer#2511 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									90ab560620
								
							
						
					
					
						commit
						49c353d895
					
				@ -130,7 +130,7 @@ const createLoginResponse = (
 | 
			
		||||
        resp.Groups = [];
 | 
			
		||||
    }
 | 
			
		||||
    if (version_compare(buildLabel, "2021.04.13.19.58") >= 0) {
 | 
			
		||||
        resp.DTLS = 99;
 | 
			
		||||
        resp.DTLS = 0; // bit 0 enables DTLS. if enabled, additional bits can be set, e.g. bit 2 to enable logging. on live, the value is 99.
 | 
			
		||||
    }
 | 
			
		||||
    if (version_compare(buildLabel, "2022.04.29.12.53") >= 0) {
 | 
			
		||||
        resp.ClientType = account.ClientType;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user