X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_md5.cpp;h=ecf76d07cb8cd7ff06045d8a7e95ee2675fe2d9b;hb=acccaa39641500b8a691db4136e6571102a438ed;hp=15cb979c6e158878fd47f97345f087f6ca70ab77;hpb=fd0fa86da89ab4cefa778307088ef2552a05a170;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_md5.cpp b/src/modules/m_md5.cpp index 15cb979c6..ecf76d07c 100644 --- a/src/modules/m_md5.cpp +++ b/src/modules/m_md5.cpp @@ -22,9 +22,6 @@ #include "inspircd.h" -#ifdef HAS_STDINT -#include -#endif #include "modules/hash.h" /* The four core functions - F1 is optimized somewhat */ @@ -37,10 +34,6 @@ #define MD5STEP(f,w,x,y,z,in,s) \ (w += f(x,y,z) + in, w = (w<>(32-s)) + x) -#ifndef HAS_STDINT -typedef unsigned int uint32_t; -#endif - typedef uint32_t word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */ typedef unsigned char byte; @@ -282,7 +275,6 @@ class ModuleMD5 : public Module public: ModuleMD5() : md5(this) { - ServerInstance->Modules->AddService(md5); } Version GetVersion() CXX11_OVERRIDE