Alias getarea and getareas

GAS GAS GAS, I'M GONNA STEP ON THE GAS!
This commit is contained in:
Salanto 2022-03-12 15:00:43 +01:00
parent 1e51131649
commit c7ce9e8aa1

View File

@ -2076,7 +2076,8 @@ class AOClient : public QObject {
const QMap<QString, CommandInfo> commands {
{"login", {ACLFlags.value("NONE"), 0, &AOClient::cmdLogin}},
{"getareas", {ACLFlags.value("NONE"), 0, &AOClient::cmdGetAreas}},
{"getarea", {ACLFlags.value("NONE"), 0, &AOClient::cmdGetArea}},
{"gas", {ACLFlags.value("NONE"), 0, &AOClient::cmdGetAreas}},
{"ga", {ACLFlags.value("NONE"), 0, &AOClient::cmdGetArea}},
{"ban", {ACLFlags.value("BAN"), 3, &AOClient::cmdBan}},
{"kick", {ACLFlags.value("KICK"), 2, &AOClient::cmdKick}},
{"changeauth", {ACLFlags.value("SUPER"), 0, &AOClient::cmdChangeAuth}},