]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_md5.cpp
Unset umode +x when a different vhost is set on a user
[user/henk/code/inspircd.git] / src / modules / m_md5.cpp
index 6b74dae2ee5f385ed72ddaa6e0ea8145e0d126e5..a6df62dd9c2605802f9fdbd32eed66d3c750d7d6 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  */
 
 /* $ModDesc: Allows for MD5 encrypted oper passwords */
-/* $ModDep: m_hash.h */
 
 #include "inspircd.h"
 #ifdef HAS_STDINT
 #include <stdint.h>
 #endif
-#include "m_hash.h"
+#include "hash.h"
 
 /* The four core functions - F1 is optimized somewhat */
 #define F1(x, y, z) (z ^ (x & (y ^ z)))
@@ -273,7 +272,7 @@ class MD5Provider : public HashProvider
                return res;
        }
 
-       MD5Provider(Module* parent) : HashProvider(parent, "hash/md5") {}
+       MD5Provider(Module* parent) : HashProvider(parent, "hash/md5", 16, 64) {}
 };
 
 class ModuleMD5 : public Module