]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operlog.cpp
Speaking of forgetting things, someone forgot to change the name of the function
[user/henk/code/inspircd.git] / src / modules / m_operlog.cpp
index 54c864a1c5d1df2b7db00720142715485c773b7b..cf5b80a3856e8026bb6e6d947f45abb2c25caa38 100644 (file)
@@ -19,7 +19,7 @@ using namespace std;
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
-#include "helperfuncs.h"
+
 #include "inspircd.h"
 #include <vector>
 
@@ -62,7 +62,7 @@ class ModuleOperLog : public Module
                        {
                                plist.append(std::string(" ")+std::string(parameters[j]));
                        }
-                       log(DEFAULT,"OPERLOG: [%s!%s@%s] %s%s",user->nick,user->ident,user->host,command.c_str(),plist.c_str());
+                       ServerInstance->Log(DEFAULT,"OPERLOG: [%s!%s@%s] %s%s",user->nick,user->ident,user->host,command.c_str(),plist.c_str());
                }
 
                return 0;