From 366fea7aec3858bcaadfe1a66e7ae8afcde76ebc Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Mar 2006 15:00:26 +0000 Subject: More const ref fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3656 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_opersha256.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra/m_opersha256.cpp') 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 { -- cgit v1.3.1-10-gc9f91