1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 02:23:13 +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
+1 -1
View File
@@ -357,7 +357,7 @@ public:
if (!modesonid.empty())
u->SetModes(NickServ, modesonid);
if (block->Get<bool>("forceemail", "yes") && u->Account()->email.empty())
if (u->Account()->email.empty())
{
u->SendMessage(NickServ, _("You must now supply an e-mail for your nick.\n"
"This e-mail will allow you to retrieve your password in\n"