diff options
author | Adam <Adam@anope.org> | 2010-07-30 01:11:19 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-07-30 01:11:19 -0400 |
commit | 8e6fe991810985fea085a4ace0ee906e80e7cbd1 (patch) | |
tree | 2d171628f4a510df780f32ae46ccc8c262086560 /src/hashcomp.cpp | |
parent | e353b15df8a5bcbf2de37ac4e2acf9e2812283e4 (diff) |
Fixed some Windows issues with hashing and sockets. This currently limits building to VS 2010, will look at 2008 later
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r-- | src/hashcomp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index 839d65da8..129f38e07 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -197,7 +197,7 @@ bool std::less<ci::string>::operator()(const Anope::string &s1, const Anope::str */ bool std::less<irc::string>::operator()(const Anope::string &s1, const Anope::string &s2) const { - return s2.irc_str().compare(s2.irc_str()) < 0; + return s1.irc_str().compare(s2.irc_str()) < 0; } sepstream::sepstream(const Anope::string &source, char seperator) : tokens(source), sep(seperator) |