Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-12 13:08:45 +0000
committerStijn Buys <ingar@osirion.org>2008-05-12 13:08:45 +0000
commite4f2faa8d5895ba30207c09c7886afb21a697d5f (patch)
tree90751a70d480781c25274e70c4804f37acf72ee2 /src/core/gameserver.cc
parent24c695e83947d3457dbd1f5d696fa09b4ef953c0 (diff)
aux::plural, aux::article
Diffstat (limited to 'src/core/gameserver.cc')
-rw-r--r--src/core/gameserver.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc
index 5064ccd..98823e0 100644
--- a/src/core/gameserver.cc
+++ b/src/core/gameserver.cc
@@ -6,6 +6,7 @@
#include <iomanip>
+#include "auxiliary/functions.h"
#include "sys/sys.h"
#include "core/cvar.h"
#include "core/func.h"
@@ -132,7 +133,7 @@ void GameServer::list_players(Player *player)
}
msgstr.str("");
- msgstr << count << " connected players";
+ msgstr << count << " connected " << aux::plural("player", count);
send(player, msgstr.str());
}