summaryrefslogtreecommitdiff
path: root/modules/commands/ns_group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_group.cpp')
-rw-r--r--modules/commands/ns_group.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_group.cpp b/modules/commands/ns_group.cpp
index ffb9a4dbc..ad2a74e38 100644
--- a/modules/commands/ns_group.cpp
+++ b/modules/commands/ns_group.cpp
@@ -98,7 +98,7 @@ class CommandNSGroup : 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];