diff --git a/include/aoclient.h b/include/aoclient.h index 75eaa39..6fbb981 100644 --- a/include/aoclient.h +++ b/include/aoclient.h @@ -79,7 +79,6 @@ class AOClient : public QObject { {"MOTD", 1ULL << 7}, {"ANNOUNCE", 1ULL << 8}, {"MODCHAT", 1ULL << 9}, - {"GM", 1ULL << 10}, {"SUPER", ~0ULL} }; diff --git a/src/commands.cpp b/src/commands.cpp index 8f7ad14..2cd968f 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -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(" ");