summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-04-24 17:44:02 -0500
committerGravatar Daniel De Graaf2010-04-24 17:44:02 -0500
commit5b5abbb1ca2cb5bba6546645e976f297a08ee623 (patch)
tree6cbac4b37cede21e27e4805f05e26a9b9f2096db
parent1.2.7 release (diff)
Remove misleading null statement
-rw-r--r--src/modules/m_cloaking.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index c6dca1e63..920f9746d 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -415,10 +415,11 @@ class ModuleCloaking : public Module
*/
if (!cu->ipalways)
{
- /** Reset the Hash module, and send it our IV and hex table */
+ /** Reset the Hash module, and send it our IV
+ * We use the default hex table here (for no reason whatsoever)
+ */
HashResetRequest(this, cu->HashProvider).Send();
HashKeyRequest(this, cu->HashProvider, iv).Send();
- HashHexRequest(this, cu->HashProvider, cu->xtab[(dest->host[0]) % 4]);
/* Generate a cloak using specialized Hash */
std::string hostcloak = cu->prefix + "-" + std::string(HashSumRequest(this, cu->HashProvider, dest->host.c_str()).Send()).substr(0,8) + a;