diff options
author | Sadie Powell <sadie@witchery.services> | 2021-05-31 21:18:26 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-05-31 21:44:10 +0100 |
commit | cadc6f48e614fad6c8febf42899f352d9172fa73 (patch) | |
tree | f6543974468a755547a6ed768a9ad112e1e69c63 /modules/commands/ns_set.cpp | |
parent | b6665d5eb952b94a12b6630f0da45955bfac0549 (diff) |
Remove nickserv:strictpasswords as it is now obsolete.
Diffstat (limited to 'modules/commands/ns_set.cpp')
-rw-r--r-- | modules/commands/ns_set.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp index 8008bd5d4..e4d6f1838 100644 --- a/modules/commands/ns_set.cpp +++ b/modules/commands/ns_set.cpp @@ -131,7 +131,7 @@ class CommandNSSetPassword : public Command return; } - if (source.GetNick().equals_ci(param) || (Config->GetBlock("options")->Get<bool>("strictpasswords") && len < 5)) + if (source.GetNick().equals_ci(param)) { source.Reply(MORE_OBSCURE_PASSWORD); return; @@ -200,7 +200,7 @@ class CommandNSSASetPassword : public Command return; } - if (nc->display.equals_ci(params[1]) || (Config->GetBlock("options")->Get<bool>("strictpasswords") && len < 5)) + if (nc->display.equals_ci(params[1])) { source.Reply(MORE_OBSCURE_PASSWORD); return; |