mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Fix time diff check
This commit is contained in:
		
							parent
							
								
									8c46b23839
								
							
						
					
					
						commit
						94ced7e500
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -755,7 +755,7 @@ function interfaces_status()
 | 
			
		|||
							mArray.openmptcprouter["ss_traffic"] = vpsinfo.shadowsocks.traffic or ""
 | 
			
		||||
						end
 | 
			
		||||
						if vpsinfo.vps.time ~= "" then
 | 
			
		||||
							if os.time() - vpsinfo.vps.time > 10 then
 | 
			
		||||
							if math.abs(os.time() - vpsinfo.vps.time) > 10 then
 | 
			
		||||
								mArray.openmptcprouter["vps_time_accurate"] = false
 | 
			
		||||
							else
 | 
			
		||||
								mArray.openmptcprouter["vps_time_accurate"] = true
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue