diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 15:00:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 15:00:26 +0000 |
commit | 366fea7aec3858bcaadfe1a66e7ae8afcde76ebc (patch) | |
tree | 230948dfceb7ca9d9f02ad491765caf173ea0bf0 /src/modules/extra/m_opersha256.cpp | |
parent | c6d28ade53dd307a079dc6cbac2ae5df22aef4f9 (diff) |
More const ref fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3656 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_opersha256.cpp')
-rw-r--r-- | src/modules/extra/m_opersha256.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_opersha256.cpp b/src/modules/extra/m_opersha256.cpp index 04d00f7b4..82caa9d12 100644 --- a/src/modules/extra/m_opersha256.cpp +++ b/src/modules/extra/m_opersha256.cpp @@ -253,7 +253,7 @@ public: List[I_OnOperCompare] = 1; } - virtual int OnOperCompare(std::string data, std::string input) + virtual int OnOperCompare(const std::string &data, const std::string &input) { if (data.length() == SHA256_BLOCK_SIZE) // If the data is as long as a hex sha256 hash, try it as that { |