X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_sha256.cpp;h=d2755baccf806754a71397dc0d5a57297a14a8df;hb=d736eba00b274c87662bd73a3acf8288135643d6;hp=129dc891cdd84cbf715ab30000f321b4f38c5f7f;hpb=d9d99cd02dadf34bfcc220734ba0c422f0acb3e6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_sha256.cpp b/src/modules/m_sha256.cpp index 129dc891c..d2755bacc 100644 --- a/src/modules/m_sha256.cpp +++ b/src/modules/m_sha256.cpp @@ -56,18 +56,9 @@ * SUCH DAMAGE. */ -/* $ModDesc: Allows for SHA-256 encrypted oper passwords */ - #include "inspircd.h" -#ifdef HAS_STDINT -#include -#endif #include "modules/hash.h" -#ifndef HAS_STDINT -typedef unsigned int uint32_t; -#endif - #define SHA256_DIGEST_SIZE (256 / 8) #define SHA256_BLOCK_SIZE (512 / 8) @@ -272,7 +263,6 @@ class ModuleSHA256 : public Module public: ModuleSHA256() : sha(this) { - ServerInstance->Modules->AddService(sha); } Version GetVersion() CXX11_OVERRIDE