mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
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:
parent
d7324a55fa
commit
4874c63f73
@ -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.
|
||||
*/
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user