From 9d72ec55ae98960bf996dd3d92c29598a5e3c825 Mon Sep 17 00:00:00 2001 From: Thomas Fargeix Date: Mon, 29 Dec 2014 23:47:21 +0100 Subject: [PATCH] Fix a regression in m_cloaking 5c7db14a5 made the cloak use hex-encoded hashes instead of the binary output. --- src/modules/m_cloaking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index e0f3f01ef..d0e7313b7 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -192,7 +192,7 @@ class ModuleCloaking : public Module input.append(1, '\0'); // null does not terminate a C++ string input.append(item); - std::string rv = Hash->Generate(input).substr(0,len); + std::string rv = Hash->GenerateRaw(input).substr(0,len); for(int i=0; i < len; i++) { // this discards 3 bits per byte. We have an -- 2.39.2