X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_operlog.cpp;h=e617c47e03b43890d9c17df0b953aaaf7d598827;hb=52acbb466b84a1cd161b1c111f855d6f0419fff3;hp=ce6e7aea4188a7fbcbdbd9243ec1aa1c38176b10;hpb=9cf56d917d92959701694477f7944d45ad2c38ed;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp index ce6e7aea4..e617c47e0 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -10,12 +10,11 @@ * * --------------------------------------------------- */ - + +#include "inspircd.h" #include "users.h" #include "channels.h" #include "modules.h" -#include "inspircd.h" -#include /* $ModDesc: A module which logs all oper commands to the ircd log at default loglevel. */ @@ -54,7 +53,7 @@ class ModuleOperLog : public Module command_t* thiscommand = ServerInstance->Parser->GetHandler(command); if ((thiscommand) && (thiscommand->flags_needed = 'o')) { - std::string plist = ""; + std::string plist; for (int j = 0; j < pcnt; j++) plist.append(std::string(" ")+std::string(parameters[j]));