summaryrefslogtreecommitdiff
path: root/src/modules/m_hash.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-09 10:17:28 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-09 10:17:28 +0000
commit621de565e15f9301b1e735b4c758fb805da57d86 (patch)
tree884bd1466f33f2719c8f8935d053c068fdaa4b05 /src/modules/m_hash.h
parente58161f80d25552e4b6f2d8ca33176d006ac33e9 (diff)
Apply brain's patch for binary safety of hash providers, and remove rehash from windows project (manually applied that due to linefeed shit)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9441 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_hash.h')
-rw-r--r--src/modules/m_hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_hash.h b/src/modules/m_hash.h
index 6351cf04f..5686169dd 100644
--- a/src/modules/m_hash.h
+++ b/src/modules/m_hash.h
@@ -54,9 +54,9 @@ class HashRequest : public Request
}
/** Get data to be hashed */
- const char* GetHashData()
+ std::string& GetHashData()
{
- return tohash.c_str();
+ return tohash;
}
/** Get keys (IVs) to be used */