mirror of
https://github.com/anope/anope.git
synced 2026-07-03 08:33:12 +02:00
Fix a few more modules to look in the right places for certain settings.
This commit is contained in:
@@ -160,7 +160,7 @@ class CommandNSRegister : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
if (Config->GetBlock("nickserv")->Get<bool>("restrictopernicks"))
|
||||
if (Config->GetModule("nickserv")->Get<bool>("restrictopernicks"))
|
||||
for (unsigned i = 0; i < Config->Opers.size(); ++i)
|
||||
{
|
||||
Oper *o = Config->Opers[i];
|
||||
|
||||
Reference in New Issue
Block a user