From e5d1eebc921b3cbb2185d0e968af7e79eb9971d9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 4 Jun 2023 12:29:45 +0100 Subject: Fix commands overflowing the message size in `/STATS Oo`. --- src/coremods/core_oper/core_oper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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( -- cgit v1.3.1-10-gc9f91