Change permission, remove unused permission

This commit is contained in:
Salanto 2021-03-12 22:14:45 +01:00
parent 69911835ee
commit ed03666a2c
2 changed files with 1 additions and 2 deletions

View File

@ -79,7 +79,6 @@ class AOClient : public QObject {
{"MOTD", 1ULL << 7},
{"ANNOUNCE", 1ULL << 8},
{"MODCHAT", 1ULL << 9},
{"GM", 1ULL << 10},
{"SUPER", ~0ULL}
};

View File

@ -892,7 +892,7 @@ void AOClient::cmdM(int argc, QStringList argv)
void AOClient::cmdGM(int argc, QStringList argv)
{
if (checkAuth(ACLFlags.value("GM"))) {
if (checkAuth(ACLFlags.value("MODCHAT"))) {
QString sender_name = ooc_name;
QString sender_area = server->area_names.value(current_area);
QString sender_message = argv.join(" ");