]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operlog.cpp
m_callerid Route ACCEPT to the server of the target user only, do not send METADATA...
[user/henk/code/inspircd.git] / src / modules / m_operlog.cpp
index 759a9e3b86ea85c2b5f5838daddf2f72485440c8..6a7fb9a63484a3b4f2b3c148aff12b4f32732549 100644 (file)
@@ -57,9 +57,7 @@ class ModuleOperLog : public Module
                        Command* thiscommand = ServerInstance->Parser->GetHandler(command);
                        if ((thiscommand) && (thiscommand->flags_needed == 'o'))
                        {
-                               std::string line;
-                               if (!parameters.empty())
-                                       line = irc::stringjoiner(" ", parameters, 0, parameters.size() - 1).GetJoined();
+                               std::string line = irc::stringjoiner(parameters).GetJoined();
                                std::string msg = "[" + user->GetFullRealHost() + "] " + command + " " + line;
                                ServerInstance->Logs->Log("m_operlog", LOG_DEFAULT, "OPERLOG: " + msg);
                                if (tosnomask)