1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 11:43:15 +02:00

Restore some functionality that was removed in an earlier commit.

This commit is contained in:
Sadie Powell
2024-03-14 22:51:24 +00:00
parent 074dfb63a7
commit 4e9d183523
9 changed files with 95 additions and 21 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ public:
if (!modesonid.empty())
u->SetModes(NickServ, modesonid);
if (u->Account()->email.empty())
if (block->Get<bool>("forceemail", "yes") && u->Account()->email.empty())
{
u->SendMessage(NickServ, _("You must now supply an email for your nick.\n"
"This email will allow you to retrieve your password in\n"