From 43caf72a5931742f9149bcc6084d2f5bd66dcbe3 Mon Sep 17 00:00:00 2001 From: Peter Urda Date: Tue, 16 Sep 2014 12:44:12 -0700 Subject: [PATCH] query.query_server() doesn't work, fixed README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c51123d..8d7bd40 100644 --- a/README.md +++ b/README.md @@ -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, ", "))) ```