From 80df092fa38524a415a3bb258384dde819ec86e3 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 3 Nov 2009 17:12:25 +0000 Subject: Remove AllowHalfop item from server config git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11996 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 5 ----- include/mode.h | 5 +++-- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'include') 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 -- cgit v1.2.3