]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hash.h
fix some unitialised vectors and tidy up a bit.
[user/henk/code/inspircd.git] / src / modules / m_hash.h
index 6351cf04f13c028f759399cccce8ac8a4f8cfab6..5686169dd2c514dd26bdf3373d3b612bd8ec01cf 100644 (file)
@@ -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 */