From: Thomas Fargeix Date: Mon, 29 Dec 2014 22:47:21 +0000 (+0100) Subject: Fix a regression in m_cloaking X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=9d72ec55ae98960bf996dd3d92c29598a5e3c825;p=user%2Fhenk%2Fcode%2Finspircd.git Fix a regression in m_cloaking 5c7db14a5 made the cloak use hex-encoded hashes instead of the binary output. --- 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