diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-19 18:32:23 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-19 18:32:23 +0000 |
commit | 4874c63f738fd1139e0c6a889d02de6b4cc30187 (patch) | |
tree | fc59e55a933a0fc97dfd397c82cff42508838367 | |
parent | d7324a55fab95b4f51672b701f2dd9cc0836abf8 (diff) |
Fix std::sort stuff for w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7050 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/mode.h | 2 | ||||
-rw-r--r-- | src/mode.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mode.h b/include/mode.h index 8e5c105ce..d548ea8d7 100644 --- a/include/mode.h +++ b/include/mode.h @@ -484,7 +484,7 @@ class CoreExport ModeParser : public classbase std::string ChanModes(); /** Used by this class internally during std::sort and 005 generation */ - static bool PrefixComparison(const prefixtype one, const prefixtype two); + static bool PrefixComparison(prefixtype one, prefixtype two); /** This returns the PREFIX=(ohv)@%+ section of the 005 numeric. */ diff --git a/src/mode.cpp b/src/mode.cpp index 2c817e685..8b91f7af5 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -898,7 +898,7 @@ std::string ModeParser::ChanModes() return type1 + "," + type2 + "," + type3 + "," + type4; } -bool ModeParser::PrefixComparison(const prefixtype one, const prefixtype two) +bool ModeParser::PrefixComparison(prefixtype one, prefixtype two) { return one.second > two.second; } |