]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operlog.cpp
A ton more clear() and empty() stuff thats been lingering on the long term todo for...
[user/henk/code/inspircd.git] / src / modules / m_operlog.cpp
index ce6e7aea4188a7fbcbdbd9243ec1aa1c38176b10..e617c47e03b43890d9c17df0b953aaaf7d598827 100644 (file)
  *
  * ---------------------------------------------------
  */
+
+#include "inspircd.h" 
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
-#include "inspircd.h"
-#include <vector>
 
 /* $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]));