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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user