diff options
| author | 2023-08-05 11:35:56 +0100 | |
|---|---|---|
| committer | 2023-08-11 12:03:09 +0100 | |
| commit | 70131c8e78e3186d217a0c50abba64474506cd69 (patch) | |
| tree | e546ae74dca6a9aac941673b1e14f3e27597123b /src/modules/m_operlog.cpp | |
| parent | Rename utility/string_view to utility/string. (diff) | |
Move stdalgo::string::join to utility/string and templatise separator.
Diffstat (limited to 'src/modules/m_operlog.cpp')
| -rw-r--r-- | src/modules/m_operlog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
