diff options
| author | 2026-03-09 15:03:34 +0000 | |
|---|---|---|
| committer | 2026-03-09 15:03:34 +0000 | |
| commit | 911a364280e56c1b84de814e54ee59e5fd0f4a5e (patch) | |
| tree | 59e023b6d90444a2a2220ff4536ee97a980a6195 /src/modules.cpp | |
| parent | Fix various inconsistencies in the banredirect and redirect modules. (diff) | |
| download | inspircd++-911a364280e56c1b84de814e54ee59e5fd0f4a5e.tar.gz inspircd++-911a364280e56c1b84de814e54ee59e5fd0f4a5e.tar.bz2 inspircd++-911a364280e56c1b84de814e54ee59e5fd0f4a5e.zip | |
Add the VF_DEPRECATED flag and warn on load about deprecation.
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 42f82b7a8..b0a4dd3f4 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -77,13 +77,14 @@ void Module::CompareLinkData(const LinkData& otherdata, LinkDataDiff& diffs) std::string Module::GetPropertyString() const { - // D = VF_CORE ("default") + // R = VF_CORE ("required") // V = VF_VENDOR // C = VF_COMMON // O = VF_OPTCOMMON - std::string propstr("DVCO"); + // D = VF_DEPRECATED + std::string propstr("RVCOD"); size_t pos = 0; - for (int mult = VF_CORE; mult <= VF_OPTCOMMON; mult *= 2, ++pos) + for (int mult = VF_CORE; mult <= VF_LAST; mult *= 2, ++pos) if (!(this->properties & mult)) propstr[pos] = '-'; return propstr; |
