aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-06-04 12:29:45 +0100
committerGravatar Sadie Powell2023-06-04 12:33:27 +0100
commite5d1eebc921b3cbb2185d0e968af7e79eb9971d9 (patch)
tree86b245cfeba3ef1b05be681eedccb9828c88985d /src
parentFix exposing oper hosts in `/STATS P`. (diff)
Fix commands overflowing the message size in `/STATS Oo`.
Diffstat (limited to 'src')
-rw-r--r--src/coremods/core_oper/core_oper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_oper/core_oper.cpp b/src/coremods/core_oper/core_oper.cpp
index d06fec1c2..d60f359c8 100644
--- a/src/coremods/core_oper/core_oper.cpp
+++ b/src/coremods/core_oper/core_oper.cpp
@@ -139,7 +139,7 @@ public:
const std::string chanmodes = account->GetModes(MODETYPE_CHANNEL);
const std::string usermodes = account->GetModes(MODETYPE_USER);
const std::string snomasks = account->GetSnomasks();
- const std::string commands = account->GetCommands();
+ const std::string commands = account->GetCommands(true);
const std::string privileges = account->GetPrivileges();
stats.AddGenericRow(INSP_FORMAT(
@@ -168,7 +168,7 @@ public:
const std::string chanmodes = type->GetModes(MODETYPE_CHANNEL);
const std::string usermodes = type->GetModes(MODETYPE_USER);
const std::string snomasks = type->GetSnomasks();
- const std::string commands = type->GetCommands();
+ const std::string commands = type->GetCommands(true);
const std::string privileges = type->GetPrivileges();
stats.AddGenericRow(INSP_FORMAT(