diff options
author | Sadie Powell <sadie@witchery.services> | 2025-04-19 12:47:52 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-04-19 12:49:06 +0100 |
commit | d81590639331f9b233d3e16512aeb01f5c024a16 (patch) | |
tree | 12cc140e7e9de0750108aa8830a65205b3246280 /include/config.h | |
parent | 452e62c05021b29b4f0641245cafa6ae115e2198 (diff) |
Get rid of the internal block wrapper.
This only existed for compatibility with old 2.0 modules and 2.1
has already broken compatibility with them.
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/config.h b/include/config.h index 295e5f6d4..24b5ab2b6 100644 --- a/include/config.h +++ b/include/config.h @@ -18,8 +18,6 @@ namespace Configuration { - namespace Internal - { class CoreExport Block { friend class Configuration::Conf; @@ -56,10 +54,6 @@ namespace Configuration template<> CoreExport const Anope::string Block::Get(const Anope::string &tag, const Anope::string &def) const; template<> CoreExport time_t Block::Get(const Anope::string &tag, const Anope::string &def) const; template<> CoreExport bool Block::Get(const Anope::string &tag, const Anope::string &def) const; - } // namespace Internal - - typedef const Internal::Block Block; - typedef Internal::Block MutableBlock; /** Represents a configuration file */ |