Fix std::sort stuff for w00t

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7050 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2007-05-19 18:32:23 +00:00
parent d7324a55fa
commit 4874c63f73
2 changed files with 2 additions and 2 deletions

View File

@ -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.
*/

View File

@ -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;
}