Skip to content

Commit

Permalink
Remove misleading null statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel De Graaf committed Apr 24, 2010
1 parent 903175a commit 5b5abbb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/modules/m_cloaking.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 5b5abbb

Please sign in to comment.