summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-19 23:19:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-19 23:19:25 +0000
commit5e421986716174454f871d08048e2eaf97bfca98 (patch)
treee99e2091a8eede3f34cff229991655c556f60cba
parent8942c3cd3217e5c68f01e3cb344709971921fc97 (diff)
More tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3262 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/hashcomp.cpp4
1 files 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()));
}