mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-17 17:25:19 +01:00
Teamspeak 3 - avoid ServerQuery clients
This commit is contained in:
parent
957c0e20ea
commit
6bcf86fe81
1 changed files with 3 additions and 1 deletions
|
@ -25,8 +25,10 @@ module.exports = require('./core').extend({
|
||||||
for(var i = 0; i < data.length; i++) {
|
for(var i = 0; i < data.length; i++) {
|
||||||
data[i].name = data[i].client_nickname;
|
data[i].name = data[i].client_nickname;
|
||||||
delete data[i].client_nickname;
|
delete data[i].client_nickname;
|
||||||
|
if(data[i].client_type == 0) {
|
||||||
state.players.push(data[i]);
|
state.players.push(data[i]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
c();
|
c();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue