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_register.cpp | |
| parent | b6665d5eb952b94a12b6630f0da45955bfac0549 (diff) | |
Remove nickserv:strictpasswords as it is now obsolete.
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 bdbff9386..01b8e086b 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -201,7 +201,7 @@ class CommandNSRegister : public Command source.Reply(_("Please wait %d seconds before using the REGISTER command again."), (u->lastnickreg + reg_delay) - Anope::CurTime); else if (NickAlias::Find(u_nick) != NULL) source.Reply(NICK_ALREADY_REGISTERED, u_nick.c_str()); - else if (pass.equals_ci(u_nick) || (Config->GetBlock("options")->Get<bool>("strictpasswords") && pass.length() < 5)) + else if (pass.equals_ci(u_nick)) source.Reply(MORE_OBSCURE_PASSWORD); else if (pass.length() < minpasslen) source.Reply(PASSWORD_TOO_SHORT, minpasslen); |
