]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_oper.cpp
m_testcommand deletes its command handler manually, no modules should do this. Will...
[user/henk/code/inspircd.git] / src / cmd_oper.cpp
index 8e3520d6ca81e36c0b8b6efeb67aeb67f2ef5db0..686182876beda77953873396b9c7977ada21e193 100644 (file)
@@ -11,6 +11,7 @@
  * ---------------------------------------------------
  */
 
+#include "inspircd.h"
 #include "configreader.h"
 #include "typedefs.h"
 #include "users.h"
@@ -114,7 +115,7 @@ CmdResult cmd_oper::Handle (const char** parameters, int pcnt, userrec *user)
 
                if (!type_invalid)
                {
-                       std::string fields = "";
+                       std::string fields;
                        if (!match_login)
                                fields.append("login ");
                        if (!match_pass)