Merge pull request #42 from jimnordb/master

Teamspeak 3 - avoid ServerQuery clients
This commit is contained in:
Michael Morrison 2016-06-03 01:12:33 -05:00
commit 2d400cf20d

View file

@ -25,7 +25,9 @@ module.exports = require('./core').extend({
for(var i = 0; i < data.length; i++) {
data[i].name = data[i].client_nickname;
delete data[i].client_nickname;
state.players.push(data[i]);
if(data[i].client_type == 0) {
state.players.push(data[i]);
}
}
c();
});