summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h5
-rw-r--r--include/mode.h5
2 files changed, 3 insertions, 7 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 4b425e03b..f5ce4b57a 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -376,11 +376,6 @@ class CoreExport ServerConfig
*/
bool RestrictBannedUsers;
- /** If this value is true, halfops have been
- * enabled in the configuration file.
- */
- bool AllowHalfop;
-
/** If this is set to true, then mode lists (e.g
* MODE #chan b) are hidden from unprivileged
* users.
diff --git a/include/mode.h b/include/mode.h
index 091d11c3d..f4e5e8a60 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -553,9 +553,10 @@ class CoreExport ModeParser
static bool PrefixComparison(ModeHandler* one, ModeHandler* two);
- /** This returns the PREFIX=(ohv)@%+ section of the 005 numeric.
+ /** This returns the PREFIX=(ohv)@%+ section of the 005 numeric, or
+ * just the "@%+" part if the parameter false
*/
- std::string BuildPrefixes();
+ std::string BuildPrefixes(bool lettersAndModes = true);
};
#endif