This change is used by m_modelevel.cpp to raise or lower the required permissions to access modes.
Instead of implementing an additional Prefix=>Level method to the config parser, this time I will use
<define name="founder" value="40000">
<define name="protect" value="50000">
and reference those through the config itself.
Please note that inspircd still has m_chanprotect.cpp that uses
#define PROTECT_VALUE 40000
#define FOUNDER_VALUE 50000
Implement getter and setter for levelrequired. Used by m_modelevel.cpp.
I don't see the benefit of adding this to 2.0, however 2.2 will have similiar functionality. You can apply this patch to new versions in the 2.0 branch easily, if needed.
Also, there is a GetLevelRequired() already, see https://github.com/inspircd/inspircd/blob/insp20/include/mode.h#L293