summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-05-31 20:53:29 +0100
committerSadie Powell <sadie@witchery.services>2021-05-31 20:53:29 +0100
commit3728a0bda1cf010520c4fae821fc9c98b2adb083 (patch)
treea3245dd294ade3e93c10a8911720dcbaa78718fe
parentd2da73cf68a5150ec65f9d95c6906de5bd57a9cc (diff)
Fix some misleading indentation in ns_register.
-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 a4aa9f082..4ff4cca44 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");