From bafeb96f486f075135df52c51fca0797d2925620 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Sat, 24 Apr 2010 14:20:21 -0500 Subject: Fix IPv6 cloaking in compatability mode (was using the wrong xtab confusor) --- src/modules/m_cloaking.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_cloaking.cpp') diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index b49a4acb0..0e49b0221 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -266,14 +266,14 @@ class ModuleCloaking : public Module item += *input; if (item.length() > 7) { - hashies.push_back(sumIV(compatkey[1]+rounds, item, 4)); + hashies.push_back(sumIV(compatkey[0]+rounds, item, 4)); item.clear(); } rounds++; } if (!item.empty()) { - hashies.push_back(sumIV(compatkey[1]+rounds, item, 4)); + hashies.push_back(sumIV(compatkey[0]+rounds, item, 4)); } /* Stick them all together */ return irc::stringjoiner(":", hashies, 0, hashies.size() - 1).GetJoined(); -- cgit v1.3.1-10-gc9f91