Commit a2d0cb93 authored by nanahira's avatar nanahira

show ip only in pass available

parent d2e66523
...@@ -2496,7 +2496,7 @@ ...@@ -2496,7 +2496,7 @@
for (k = 0, len1 = ref.length; k < len1; k++) { for (k = 0, len1 = ref.length; k < len1; k++) {
player = ref[k]; player = ref[k];
var cname = player.name; var cname = player.name;
if (settings.modules.http.show_ip) { if (settings.modules.http.show_ip && pass_validated) {
cname = player.name + " (" + player.ip + ")"; cname = player.name + " (" + player.ip + ")";
} }
if (player.pos != null) { if (player.pos != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment