summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Fargeix <t.fargeix@gmail.com>2014-12-29 23:47:21 +0100
committerThomas Fargeix <t.fargeix@gmail.com>2014-12-29 23:47:21 +0100
commit9d72ec55ae98960bf996dd3d92c29598a5e3c825 (patch)
tree5a87f4ca6ce25393bd4cb68bc4f4d48cb54f5b6e /src
parent3ccf0065d43db80f31c6404aeac4d65551481508 (diff)
Fix a regression in m_cloaking
5c7db14a5 made the cloak use hex-encoded hashes instead of the binary output.
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_cloaking.cpp2
1 files changed, 1 insertions, 1 deletions
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