1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 18:23:13 +02:00

Remove nickserv:strictpasswords as it is now obsolete.

This commit is contained in:
Sadie Powell
2021-05-31 21:18:26 +01:00
parent b6665d5eb9
commit cadc6f48e6
5 changed files with 7 additions and 18 deletions
+1 -1
View File
@@ -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);