mirror of
https://github.com/anope/anope.git
synced 2026-06-29 18:16:38 +02:00
Fix erroring out when sendmailpath is empty.
This has a default now.
This commit is contained in:
+1
-1
@@ -190,7 +190,7 @@ Conf::Conf() : Block("")
|
||||
|
||||
if (mail->Get<bool>("usemail"))
|
||||
{
|
||||
Anope::string check[] = { "sendmailpath", "sendfrom", "registration_subject", "registration_message", "emailchange_subject", "emailchange_message", "memo_subject", "memo_message" };
|
||||
Anope::string check[] = { "sendfrom", "registration_subject", "registration_message", "emailchange_subject", "emailchange_message", "memo_subject", "memo_message" };
|
||||
for (const auto &field : check)
|
||||
ValidateNotEmpty("mail", field, mail->Get<const Anope::string>(field));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user