mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 20:43:26 +00:00
removed the useless ghost user number
This commit is contained in:
parent
3bfd9f4d40
commit
b09e43b5b2
@ -529,8 +529,7 @@ void server::dump_stats(const time_t& now) {
|
||||
LOG_SERVER << "Statistics:"
|
||||
<< "\tnumber_of_games = " << games_.size()
|
||||
<< "\tnumber_of_users = " << players_.size()
|
||||
<< "\tnumber_of_ghost_users = " << ghost_players_.size()
|
||||
<< "\trooms_users = " << rooms_.lobby().size() << "\n";
|
||||
<< "\tlobby_users = " << rooms_.lobby().size() << "\n";
|
||||
}
|
||||
|
||||
void server::clean_user_handler(const time_t& now) {
|
||||
@ -1250,7 +1249,6 @@ std::string server::process_command(const std::string& query, const std::string&
|
||||
} else if (command == "stats") {
|
||||
out << "Number of games = " << games_.size()
|
||||
<< "\nTotal number of users = " << players_.size()
|
||||
<< "\nNumber of ghost users = " << ghost_players_.size()
|
||||
<< "\nNumber of users in the lobby = " << rooms_.lobby().size();
|
||||
return out.str();
|
||||
} else if (command == "metrics") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user