mirror of
https://github.com/anope/anope.git
synced 2026-07-01 13:06:38 +02:00
Restore some functionality that was removed in an earlier commit.
This commit is contained in:
@@ -227,6 +227,12 @@ 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", "no");
|
||||
}
|
||||
}
|
||||
|
||||
EventReturn OnPreCommand(CommandSource &source, Command *command, std::vector<Anope::string> ¶ms) override
|
||||
|
||||
Reference in New Issue
Block a user