From c7ce9e8aa110763b0e6aff4f194145b043e6f8bc Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Sat, 12 Mar 2022 15:00:43 +0100 Subject: [PATCH] Alias getarea and getareas GAS GAS GAS, I'M GONNA STEP ON THE GAS! --- core/include/aoclient.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/include/aoclient.h b/core/include/aoclient.h index 6a9faca..9dbad72 100644 --- a/core/include/aoclient.h +++ b/core/include/aoclient.h @@ -2076,7 +2076,8 @@ class AOClient : public QObject { const QMap 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}},