Indicate CM status in getarea

This commit is contained in:
in1tiate 2021-02-27 17:43:20 -06:00
parent 033d4f93e5
commit 516610efeb

View File

@ -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);