From 5e421986716174454f871d08048e2eaf97bfca98 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 19 Feb 2006 23:19:25 +0000 Subject: More tweaks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3262 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/hashcomp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index ee485591f..3c29a1910 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -152,12 +152,12 @@ irc::string operator+ (irc::string& leftval, std::string& rightval) return leftval + irc::string(rightval.c_str()); } -std::string operator== (std::string& leftval, irc::string& rightval) +bool operator== (std::string& leftval, irc::string& rightval) { return (leftval == std::string(rightval.c_str())); } -irc::string operator== (irc::string& leftval, std::string& rightval) +bool operator== (irc::string& leftval, std::string& rightval) { return (rightval == irc::string(leftval.c_str())); } -- cgit v1.2.3