]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_opersha256.cpp
Speaking of forgetting things, someone forgot to change the name of the function
[user/henk/code/inspircd.git] / src / modules / m_opersha256.cpp
index 451a2c1958978dc7d29cd99ac4c3eca5a16284d2..92579cdaf875fbe24339b42be8f85fdf75df02a6 100644 (file)
@@ -44,7 +44,7 @@ using namespace std;
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
-#include "helperfuncs.h"
+
 #include "inspircd.h"
 
 
@@ -228,7 +228,7 @@ void SHA256(const char *src, char *dest, int len)
 class cmd_mksha256 : public command_t
 {
 public:
      cmd_mksha256() : command_t("MKSHA256", 'o', 1)
cmd_mksha256 (InspIRCd* Instance) : command_t(Instance,"MKSHA256", 'o', 1)
        {
                this->source = "m_opersha256.so";
                syntax = "<any-text>";
@@ -250,7 +250,7 @@ public:
        ModuleOperSHA256(InspIRCd* Me) : Module::Module(Me)
        {
                
-               mksha256cmd = new cmd_mksha256();
+               mksha256cmd = new cmd_mksha256(ServerInstance);
                ServerInstance->AddCommand(mksha256cmd);
        }