]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_opermd5.cpp
Atheme wont work right, because this wasnt VF_COMMON. If its not VF_COMMON, its not...
[user/henk/code/inspircd.git] / src / modules / m_opermd5.cpp
index 57eb2c5eff9732e10308cc159cd613617a710d32..7a6610eca661b9d5c19ce78a3bebc325e1ed536d 100644 (file)
@@ -259,8 +259,8 @@ void GenHash(const char* src, char* dest)
 
        for (int i = 0; i < 16; i++)
        {
-               *dest++ = xtab[bytes[i] % 16];
                *dest++ = xtab[bytes[i] / 16];
+               *dest++ = xtab[bytes[i] % 16];
        }
        *dest++ = 0;
 }