diff --git a/src/ReceiveCommands.cc b/src/ReceiveCommands.cc index ecfa7df4..2fff032c 100644 --- a/src/ReceiveCommands.cc +++ b/src/ReceiveCommands.cc @@ -1536,15 +1536,17 @@ static void on_09(shared_ptr c, uint16_t, uint32_t, const string& data) if (team->name.empty()) { message = "(No registrant)"; } else if (team->max_players == 1) { - message = string_printf("$C6%s$C7\n%zu %s\nPlayers:", - team->name.c_str(), - team->num_rounds_cleared, - team->num_rounds_cleared == 1 ? "win" : "wins"); - } else { - message = string_printf("$C6%s$C7\n%zu %s%s\nPlayers:", + message = string_printf("$C6%s$C7\n%zu %s (%s)\nPlayers:", team->name.c_str(), team->num_rounds_cleared, team->num_rounds_cleared == 1 ? "win" : "wins", + team->is_active ? "active" : "defeated"); + } else { + message = string_printf("$C6%s$C7\n%zu %s (%s)%s\nPlayers:", + team->name.c_str(), + team->num_rounds_cleared, + team->num_rounds_cleared == 1 ? "win" : "wins", + team->is_active ? "active" : "defeated", team->password.empty() ? "" : "\n$C4Locked$C7"); } for (const auto& player : team->players) {