]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
More tweaks
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 19 Feb 2006 23:19:25 +0000 (23:19 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 19 Feb 2006 23:19:25 +0000 (23:19 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3262 e03df62e-2008-0410-955e-edbf42e46eb7

src/hashcomp.cpp

index ee485591f9ba182ef5a93f0ddef505d42300c175..3c29a1910ebfd79c9d7de29ac3ae8ae139fcf4ec 100644 (file)
@@ -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()));
 }