diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-11-03 17:12:25 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-11-03 17:12:25 +0000 |
commit | 80df092fa38524a415a3bb258384dde819ec86e3 (patch) | |
tree | a1f9d32c12f7069292ba62b4594c05acf00ec1a9 /include | |
parent | 0f74e88f0996acff1580bcf5f2ea3dc986497339 (diff) |
Remove AllowHalfop item from server config
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11996 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/configreader.h | 5 | ||||
-rw-r--r-- | include/mode.h | 5 |
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 |