mirror of
https://github.com/anope/anope.git
synced 2026-06-25 03:56:40 +02:00
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.
This commit is contained in:
@@ -141,7 +141,7 @@ public:
|
||||
|
||||
void OnReload(Configuration::Conf &conf) override
|
||||
{
|
||||
Configuration::Block &block = conf.GetModule(this);
|
||||
const auto &block = conf.GetModule(this);
|
||||
this->SQL = ServiceReference<Provider>("SQL::Provider", block.Get<const Anope::string>("engine"));
|
||||
this->prefix = block.Get<const Anope::string>("prefix", "anope_db_");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user