aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_cloaking.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-04-24 14:20:21 -0500
committerGravatar Daniel De Graaf2010-08-03 17:32:42 -0400
commitbafeb96f486f075135df52c51fca0797d2925620 (patch)
tree67cda7296257124f42f0d61c2d0bd6c95309b626 /src/modules/m_cloaking.cpp
parentAdd custom suffix support for 2.0-style IP cloaking (default of ".IP") (diff)
Fix IPv6 cloaking in compatability mode (was using the wrong xtab confusor)
Diffstat (limited to 'src/modules/m_cloaking.cpp')
-rw-r--r--src/modules/m_cloaking.cpp4
1 files changed, 2 insertions, 2 deletions
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();