From 3f5e12b77fe533abe31abcce35b9c8ca26fb9a45 Mon Sep 17 00:00:00 2001 From: MangosArentLiterature <58055358+MangosArentLiterature@users.noreply.github.com> Date: Fri, 2 Jul 2021 23:45:40 -0500 Subject: [PATCH] Make /mods only useable by moderators --- core/include/aoclient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/include/aoclient.h b/core/include/aoclient.h index 9aefdf5..1a399a4 100644 --- a/core/include/aoclient.h +++ b/core/include/aoclient.h @@ -1987,7 +1987,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}},