From 20e8e4c0fb1262a25c2491679da4587d264208a2 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 11 Jan 2009 12:15:22 +0000 Subject: core::Player interface updates --- src/core/gameserver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/gameserver.h') diff --git a/src/core/gameserver.h b/src/core/gameserver.h index 59db0c5..31cfca6 100644 --- a/src/core/gameserver.h +++ b/src/core/gameserver.h @@ -74,8 +74,8 @@ public: /// a player sends a command to the game server void exec(Player *player, std::string const &cmdline); - /// find the first player who's id or name matches the search string - Player *find_player(std::string const search); + /// time the server was started + inline const unsigned long startup() const { return server_startup; } /*----- static ---------------------------------------------------- */ -- cgit v1.2.3