mirror of
https://github.com/inspircd/inspircd.git
synced 2025-04-03 14:50:04 -04:00
More tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3262 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
8942c3cd32
commit
5e42198671
@ -152,12 +152,12 @@ irc::string operator+ (irc::string& leftval, std::string& rightval)
|
|||||||
return leftval + irc::string(rightval.c_str());
|
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()));
|
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()));
|
return (rightval == irc::string(leftval.c_str()));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user