1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 13:46:38 +02:00

Require new accounts to have email addresses.

This commit is contained in:
Sadie Powell
2024-03-07 21:40:52 +00:00
parent 307ffea951
commit 3272c1bbc6
8 changed files with 12 additions and 87 deletions
-4
View File
@@ -227,10 +227,6 @@ public:
email_attribute = conf->Get<const Anope::string>("email_attribute");
this->disable_register_reason = conf->Get<const Anope::string>("disable_register_reason");
this->disable_email_reason = conf->Get<const Anope::string>("disable_email_reason");
if (!email_attribute.empty())
/* Don't complain to users about how they need to update their email, we will do it for them */
config->GetModule("nickserv")->Set("forceemail", "false");
}
EventReturn OnPreCommand(CommandSource &source, Command *command, std::vector<Anope::string> &params) override