mirror of
https://github.com/anope/anope.git
synced 2026-07-07 08:33:12 +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:
@@ -640,7 +640,7 @@ public:
|
||||
|
||||
void OnReload(Configuration::Conf &conf) override
|
||||
{
|
||||
Configuration::Block &block = Config->GetModule(this);
|
||||
const auto &block = Config->GetModule(this);
|
||||
|
||||
session_limit = block.Get<int>("defaultsessionlimit");
|
||||
max_session_kill = block.Get<int>("maxsessionkill");
|
||||
|
||||
Reference in New Issue
Block a user