diff options
author | Robby- <robby@chat.be> | 2013-09-23 19:26:23 +0200 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-27 19:11:02 -0400 |
commit | 832bc35135cb10c2e95af4085d76bee1c820180e (patch) | |
tree | 14f0342d1d08d22d1d72964ad7ec5d355598bd1c /modules/commands/ns_register.cpp | |
parent | 06c5914820cd9a9d483d84113ac60c16dfd3627d (diff) |
Fix a few more modules to look in the right places for certain settings.
Diffstat (limited to 'modules/commands/ns_register.cpp')
-rw-r--r-- | modules/commands/ns_register.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp index 176b78553..73e72803b 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -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]; |