Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Sovexe committed Apr 23, 2022
1 parent 4bb4e54 commit a10431e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/client.dm
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ var/global/list/vpn_ip_checks = list() //assoc list of ip = true or ip = false.
// Successful Goonhub API query
else
var/result = dpi(data)
if (result == 2 || data["whitelisted"])
if (result == 1) data["vpn"] = true
else if (result == 2 || data["whitelisted"])
// User is explicitly whitelisted from VPN checks, ignore
global.vpn_ip_checks["[src.address]"] = false

Expand Down

0 comments on commit a10431e

Please sign in to comment.