From 70131c8e78e3186d217a0c50abba64474506cd69 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 5 Aug 2023 11:35:56 +0100 Subject: Move stdalgo::string::join to utility/string and templatise separator. --- src/modules/m_operlog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_operlog.cpp') diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp index bdb32b9ce..c2b1c2b59 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -25,6 +25,7 @@ #include "inspircd.h" #include "modules/isupport.h" +#include "utility/string.h" class ModuleOperLog final : public Module @@ -54,7 +55,7 @@ public: Command* thiscommand = ServerInstance->Parser.GetHandler(command); if ((thiscommand) && (thiscommand->access_needed == CmdAccess::OPERATOR)) { - std::string msg = "[" + user->GetRealMask() + "] " + command + " " + stdalgo::string::join(parameters); + std::string msg = "[" + user->GetRealMask() + "] " + command + " " + insp::join(parameters); if (tosnomask) ServerInstance->SNO.WriteGlobalSno('o', msg); else -- cgit v1.3.1-10-gc9f91