From 75472c6fad110f22c9cec08914e6ac4bd18c2bdc Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Wed, 8 Jun 2022 21:35:26 +0200 Subject: [PATCH] Consistent key/argument * layout in command_extensions.ini --- bin/config_sample/command_extensions.ini | 12 ++++++------ core/src/aoclient.cpp | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bin/config_sample/command_extensions.ini b/bin/config_sample/command_extensions.ini index 771abc8..d8933e3 100644 --- a/bin/config_sample/command_extensions.ini +++ b/bin/config_sample/command_extensions.ini @@ -43,8 +43,8 @@ aliases = clear_notecard notecardclear [allow_blankposting] aliases = allowblankposting -[forceimmediate] -aliases = force_noint_pres +[force_noint_pres] +aliases = forceimmediate [allow_iniswap] aliases = allowiniswap @@ -76,8 +76,8 @@ aliases = updateban [ignore_bglist] aliases = ignorebglist -[togglewtce] -aliases = toggle_wtce +[toggle_wtce] +aliases = togglewtce -[toggleshouts] -aliases = toggle_shouts \ No newline at end of file +[toggle_shouts] +aliases = toggleshouts \ No newline at end of file diff --git a/core/src/aoclient.cpp b/core/src/aoclient.cpp index d3e7858..5f0c0c0 100644 --- a/core/src/aoclient.cpp +++ b/core/src/aoclient.cpp @@ -105,7 +105,7 @@ const QMap AOClient::COMMANDS{ {"undisemvowel", {{ACLRole::MUTE}, 1, &AOClient::cmdUnDisemvowel}}, {"shake", {{ACLRole::MUTE}, 1, &AOClient::cmdShake}}, {"unshake", {{ACLRole::MUTE}, 1, &AOClient::cmdUnShake}}, - {"forceimmediate", {{ACLRole::CM}, 0, &AOClient::cmdForceImmediate}}, + {"force_noint_pres", {{ACLRole::CM}, 0, &AOClient::cmdForceImmediate}}, {"allow_iniswap", {{ACLRole::CM}, 0, &AOClient::cmdAllowIniswap}}, {"afk", {{ACLRole::NONE}, 0, &AOClient::cmdAfk}}, {"savetestimony", {{ACLRole::NONE}, 1, &AOClient::cmdSaveTestimony}}, @@ -144,8 +144,8 @@ const QMap AOClient::COMMANDS{ {"removeentry", {{ACLRole::CM}, 1, &AOClient::cmdRemoveCategorySong}}, {"toggleroot", {{ACLRole::CM}, 0, &AOClient::cmdToggleRootlist}}, {"clearcustom", {{ACLRole::CM}, 0, &AOClient::cmdClearCustom}}, - {"togglewtce", {{ACLRole::CM}, 0, &AOClient::cmdToggleWtce}}, - {"toggleshouts", {{ACLRole::CM}, 0, &AOClient::cmdToggleShouts}}}; + {"toggle_wtce", {{ACLRole::CM}, 0, &AOClient::cmdToggleWtce}}, + {"toggle_shouts", {{ACLRole::CM}, 0, &AOClient::cmdToggleShouts}}}; void AOClient::clientDisconnected() {