Commit 71c3ee79 authored by nanahira's avatar nanahira

update rooml

parent 0867b35a
...@@ -2495,10 +2495,14 @@ ...@@ -2495,10 +2495,14 @@
results1 = []; results1 = [];
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;
if (settings.modules.http.show_ip) {
cname = player.name + " (" + player.ip + ")";
}
if (player.pos != null) { if (player.pos != null) {
results1.push({ results1.push({
id: (-1).toString(), id: (-1).toString(),
name: player.name, name: cname,
pos: player.pos pos: player.pos
}); });
} }
......
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