summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-05 22:30:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-05 22:30:52 +0000
commitfd317e2325992c472487574d6e49749f4ea802e4 (patch)
treed759c583e817821560607f53653e03c94e124b88 /src
parent42a4d49a8b0a1b8b1c4f6b89e919f474672ad3be (diff)
Fix for peavy :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5882 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_cloaking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index 8c88a862a..7d2a4bc95 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -157,7 +157,7 @@ class CloakUser : public ModeHandler
HashKeyRequest(Sender, HashProvider, iv).Send();
/* Send the Hash module a different hex table for each octet group's Hash sum */
- for (int k = 0; k < 3; k++)
+ for (int k = 0; k < 4; k++)
{
HashHexRequest(Sender, HashProvider, xtab[(iv[k]+i[k]) % 4]).Send();
ra[k] = std::string(HashSumRequest(Sender, HashProvider, octet[k]).Send()).substr(0,6);