query.query_server() doesn't work, fixed README

This commit is contained in:
Peter Urda
2014-09-16 12:44:12 -07:00
parent 9d4c54f6e8
commit 43caf72a59

View File

@@ -18,7 +18,7 @@ print("The server has %d players" % (status.players.online))
# 'query' has to be enabled in a servers' server.properties file.
# It may give more information than a ping, such as a full player list or mod information.
query = query.query_server()
query = server.query_server()
print("The server has the following players online: " % (string.join(query.players.names, ", ")))
```