summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-30 17:00:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-30 17:00:23 +0000
commit919dac4ccc5e8808fa7c9b03c2504c51a6034b2e (patch)
treea82cbf18a1db46af4973b5be643c016d8d7fbe1f /src
parentbeb18cb120477fe85f60393c47151744713efe59 (diff)
Fix broken opermd5 (switch over % and / operators)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5360 e03df62e-2008-0410-955e-edbf42e46eb7
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;
}