From d81590639331f9b233d3e16512aeb01f5c024a16 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 19 Apr 2025 12:47:52 +0100 Subject: 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. --- include/config.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include') 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 */ -- cgit