diff options
| author | 2010-04-24 14:20:21 -0500 | |
|---|---|---|
| committer | 2010-08-03 17:32:42 -0400 | |
| commit | bafeb96f486f075135df52c51fca0797d2925620 (patch) | |
| tree | 67cda7296257124f42f0d61c2d0bd6c95309b626 /src/modules/m_cloaking.cpp | |
| parent | Add 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.cpp | 4 |
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(); |
