Skip to content

Commit

Permalink
disallow players to see server ip
Browse files Browse the repository at this point in the history
Players should not be allowed to view the server IP at all
  • Loading branch information
GalacticInspired authored Dec 4, 2021
1 parent 8e83f4d commit e11182f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MainModule/Server/Commands/Players.lua
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ return function(Vargs, env)
region = r.region,
zipcode = r.zip,
timezone = r.timezone,
query = r.query,
query = Admin.CheckAdmin(plr) and (r.query) or "[Redacted]",
coords = Admin.CheckAdmin(plr) and ("LAT: "..r.lat..", LON: "..r.lon) or "[Redacted]",
} or nil

Expand Down

0 comments on commit e11182f

Please sign in to comment.