]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_md5.cpp
This works, not sure why. Someone find out why we cant use && !isock->HasResult(...
[user/henk/code/inspircd.git] / src / modules / m_md5.cpp
index 3b7df836994ce1d24219d95184745cd9206919d7..0c8d531e082f099a86d141fcf78b26a3927370ae 100644 (file)
@@ -18,9 +18,6 @@
 #ifdef HAS_STDINT
 #include <stdint.h>
 #endif
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
 #include "m_hash.h"
 
 /* The four core functions - F1 is optimized somewhat */
@@ -270,12 +267,12 @@ class ModuleMD5 : public Module
        ModuleMD5(InspIRCd* Me)
                : Module(Me), key(NULL), chars(NULL)
        {
-               ServerInstance->PublishInterface("HashRequest", this);
+               ServerInstance->Modules->PublishInterface("HashRequest", this);
        }
        
        virtual ~ModuleMD5()
        {
-               ServerInstance->UnpublishInterface("HashRequest", this);
+               ServerInstance->Modules->UnpublishInterface("HashRequest", this);
        }
 
        void Implements(char* List)