From fd317e2325992c472487574d6e49749f4ea802e4 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 5 Dec 2006 22:30:52 +0000 Subject: Fix for peavy :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5882 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cloaking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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); -- cgit v1.2.3