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