From 37f771a95bd54e2072f07783df142da4a91e7bff Mon Sep 17 00:00:00 2001 From: Lejo Date: Fri, 20 Dec 2019 19:16:29 +0100 Subject: Fix the player information version_string return value (#8616) * Give more player information * Correct lua_api.txt * Correct keys in lua_api.txt * Improve Code * Only Bugfix+ser_vers * Correct doc * Fix double --- src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server.cpp') diff --git a/src/server.cpp b/src/server.cpp index 4090dd773..b74bba258 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1283,7 +1283,7 @@ bool Server::getClientInfo( *major = client->getMajor(); *minor = client->getMinor(); *patch = client->getPatch(); - *vers_string = client->getPatch(); + *vers_string = client->getFull(); m_clients.unlock(); -- cgit v1.2.3