summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/mode.h2
-rw-r--r--src/mode.cpp2
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;
}