aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operlog.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2014-02-05 16:44:22 +0000
committerGravatar Attila Molnar2014-02-06 23:11:51 +0100
commit9dd4108273d95204edbc366618da6500571267df (patch)
tree2e78f10477d88e2fdb288d17cfded87b10fa2313 /src/modules/m_operlog.cpp
parentFix various cases of UUID exposure. (diff)
Convert irc::stringjoiner to be a method instead of a class.
Add separator parameter
Diffstat (limited to 'src/modules/m_operlog.cpp')
-rw-r--r--src/modules/m_operlog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp
index 0da0c1f20..e89dda7b5 100644
--- a/src/modules/m_operlog.cpp
+++ b/src/modules/m_operlog.cpp
@@ -52,8 +52,7 @@ class ModuleOperLog : public Module
Command* thiscommand = ServerInstance->Parser->GetHandler(command);
if ((thiscommand) && (thiscommand->flags_needed == 'o'))
{
- std::string line = irc::stringjoiner(parameters).GetJoined();
- std::string msg = "[" + user->GetFullRealHost() + "] " + command + " " + line;
+ std::string msg = "[" + user->GetFullRealHost() + "] " + command + " " + irc::stringjoiner(parameters);
ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "OPERLOG: " + msg);
if (tosnomask)
ServerInstance->SNO->WriteGlobalSno('r', msg);