diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-07 21:40:52 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-07 22:25:32 +0000 |
commit | 3272c1bbc65eaa29ba63e176ec76702c5b21d367 (patch) | |
tree | 9dda1773c1e7554787cce21794dbb4249ea51dd3 /modules/extra/ldap_authentication.cpp | |
parent | 307ffea9517fa2b05fa04e7e89b0d4435191bf4f (diff) |
Require new accounts to have email addresses.
Diffstat (limited to 'modules/extra/ldap_authentication.cpp')
-rw-r--r-- | modules/extra/ldap_authentication.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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<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> ¶ms) override |