summaryrefslogtreecommitdiff
path: root/modules/commands/ns_register.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-05-31 20:57:48 +0100
committerSadie Powell <sadie@witchery.services>2021-05-31 20:57:48 +0100
commitdf4313f5bbacbfcb6592b6d90fe5362192287d59 (patch)
treef16f74b745083d6f8575d86c8d19565869c4d9c4 /modules/commands/ns_register.cpp
parent53cd3f47b5c5afa503e96380e9e22d7d35108714 (diff)
parent3728a0bda1cf010520c4fae821fc9c98b2adb083 (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'modules/commands/ns_register.cpp')
-rw-r--r--modules/commands/ns_register.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp
index c8fdeb344..6fd66a33f 100644
--- a/modules/commands/ns_register.cpp
+++ b/modules/commands/ns_register.cpp
@@ -179,6 +179,7 @@ class CommandNSRegister : public Command
}
if (Config->GetModule("nickserv")->Get<bool>("restrictopernicks"))
+ {
for (unsigned i = 0; i < Oper::opers.size(); ++i)
{
Oper *o = Oper::opers[i];
@@ -189,6 +190,7 @@ class CommandNSRegister : public Command
return;
}
}
+ }
unsigned int passlen = Config->GetModule("nickserv")->Get<unsigned>("passlen", "32");