Merge pull request #149 from AttorneyOnline/mods-changes

Make /mods only useable by moderators
This commit is contained in:
scatterflower 2021-07-27 06:54:56 -05:00 committed by GitHub
commit 5e52fe9858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1995,7 +1995,7 @@ class AOClient : public QObject {
{"randomchar", {ACLFlags.value("NONE"), 0, &AOClient::cmdRandomChar}},
{"switch", {ACLFlags.value("NONE"), 1, &AOClient::cmdSwitch}},
{"toggleglobal", {ACLFlags.value("NONE"), 0, &AOClient::cmdToggleGlobal}},
{"mods", {ACLFlags.value("NONE"), 0, &AOClient::cmdMods}},
{"mods", {ACLFlags.value("MODCHAT"), 0, &AOClient::cmdMods}},
{"help", {ACLFlags.value("NONE"), 0, &AOClient::cmdHelp}},
{"status", {ACLFlags.value("NONE"), 1, &AOClient::cmdStatus}},
{"forcepos", {ACLFlags.value("CM"), 2, &AOClient::cmdForcePos}},