From: Matthew I Date: Sat, 28 Jul 2012 19:49:23 +0000 (-0400) Subject: Remove trailing comma after player list in server status string X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=8e0ac70c4ddfffedcd9e85b409360b4356d033c4;p=zefram%2Fminetest%2Fminetest_engine.git Remove trailing comma after player list in server status string --- diff --git a/src/server.cpp b/src/server.cpp index 05dff06c..85e361ce 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -4449,9 +4449,10 @@ std::wstring Server::getStatusString() // Uptime os<::Iterator - i = m_clients.getIterator(); + for(i = m_clients.getIterator(), first = true; i.atEnd() == false; i++) { // Get client and check that it is valid @@ -4466,7 +4467,11 @@ std::wstring Server::getStatusString() if(player != NULL) name = narrow_to_wide(player->getName()); // Add name to information string - os<getMap()))->isSavingEnabled() == false)