gluon-hoodselector: remove outdated comments
This commit is contained in:
		
							parent
							
								
									898ceff9a8
								
							
						
					
					
						commit
						436bc8f5b0
					
				| @ -44,14 +44,14 @@ if hoodutil.directVPN() then | |||||||
|     local geoHood = hoodutil.getHoodByGeo(jhood, geo) |     local geoHood = hoodutil.getHoodByGeo(jhood, geo) | ||||||
|     if geoHood ~= nil then |     if geoHood ~= nil then | ||||||
|       if hoodutil.set_hoodconfig(geoHood) then |       if hoodutil.set_hoodconfig(geoHood) then | ||||||
|         hoodutil.restart_services() -- temporary solution |         hoodutil.restart_services() | ||||||
|         io.stdout:write('Hood set by VPN mode.\n') |         io.stdout:write('Hood set by VPN mode.\n') | ||||||
|       end |       end | ||||||
|       os.exit(0) |       os.exit(0) | ||||||
|     end |     end | ||||||
|     io.stdout:write('No hood has been defined for the current position.\n') |     io.stdout:write('No hood has been defined for the current position.\n') | ||||||
|     if hoodutil.set_hoodconfig(hoodutil.getDefaultHood(jhood)) then |     if hoodutil.set_hoodconfig(hoodutil.getDefaultHood(jhood)) then | ||||||
|       hoodutil.restart_services() -- TMP solution |       hoodutil.restart_services() | ||||||
|       io.stdout:write('Hood set by VPN mode.\n') |       io.stdout:write('Hood set by VPN mode.\n') | ||||||
|     end |     end | ||||||
|     os.exit(0) |     os.exit(0) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user