From 516610efebbd90c5a26c3c07fcebc6717e8897f3 Mon Sep 17 00:00:00 2001 From: in1tiate Date: Sat, 27 Feb 2021 17:43:20 -0600 Subject: [PATCH] Indicate CM status in getarea --- src/commands.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands.cpp b/src/commands.cpp index 0232d13..45eb066 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -471,6 +471,8 @@ QStringList AOClient::buildAreaList(int area_idx) QString char_entry = "[" + QString::number(client->id) + "] " + client->current_char; if (client->current_char == "") char_entry += "Spectator"; + if (area->owners.contains(client->id)) + char_entry.insert(0, "[CM] "); if (authenticated) char_entry += " (" + client->getIpid() + "): " + client->ooc_name; entries.append(char_entry);