Change permission, remove unused permission
This commit is contained in:
parent
69911835ee
commit
ed03666a2c
@ -79,7 +79,6 @@ class AOClient : public QObject {
|
|||||||
{"MOTD", 1ULL << 7},
|
{"MOTD", 1ULL << 7},
|
||||||
{"ANNOUNCE", 1ULL << 8},
|
{"ANNOUNCE", 1ULL << 8},
|
||||||
{"MODCHAT", 1ULL << 9},
|
{"MODCHAT", 1ULL << 9},
|
||||||
{"GM", 1ULL << 10},
|
|
||||||
{"SUPER", ~0ULL}
|
{"SUPER", ~0ULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -892,7 +892,7 @@ void AOClient::cmdM(int argc, QStringList argv)
|
|||||||
|
|
||||||
void AOClient::cmdGM(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_name = ooc_name;
|
||||||
QString sender_area = server->area_names.value(current_area);
|
QString sender_area = server->area_names.value(current_area);
|
||||||
QString sender_message = argv.join(" ");
|
QString sender_message = argv.join(" ");
|
||||||
|
Loading…
Reference in New Issue
Block a user