From 8e0ac70c4ddfffedcd9e85b409360b4356d033c4 Mon Sep 17 00:00:00 2001 From: Matthew I Date: Sat, 28 Jul 2012 15:49:23 -0400 Subject: [PATCH] Remove trailing comma after player list in server status string --- src/server.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index 05dff06c5..85e361ced 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) -- 2.25.1