From 5b5abbb1ca2cb5bba6546645e976f297a08ee623 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Sat, 24 Apr 2010 17:44:02 -0500 Subject: Remove misleading null statement --- src/modules/m_cloaking.cpp | 5 +++-- 1 file 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; -- cgit v1.3.1-10-gc9f91