From 3272c1bbc65eaa29ba63e176ec76702c5b21d367 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 Mar 2024 21:40:52 +0000 Subject: Require new accounts to have email addresses. --- modules/extra/ldap_authentication.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/extra') diff --git a/modules/extra/ldap_authentication.cpp b/modules/extra/ldap_authentication.cpp index 3896bd1a2..4f4f4f1fc 100644 --- a/modules/extra/ldap_authentication.cpp +++ b/modules/extra/ldap_authentication.cpp @@ -227,10 +227,6 @@ public: email_attribute = conf->Get("email_attribute"); this->disable_register_reason = conf->Get("disable_register_reason"); this->disable_email_reason = conf->Get("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 ¶ms) override -- cgit