summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_opermd5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_opermd5.cpp b/src/modules/m_opermd5.cpp
index 57eb2c5ef..7a6610eca 100644
--- a/src/modules/m_opermd5.cpp
+++ b/src/modules/m_opermd5.cpp
@@ -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;
}