From 8b4cd65e2aed386327d19902843bae5e3a19126c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 2 Apr 2024 16:50:52 +0100 Subject: Fix erroring out when sendmailpath is empty. This has a default now. --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.cpp') diff --git a/src/config.cpp b/src/config.cpp index 7b322f8c9..18dea1b6a 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -190,7 +190,7 @@ Conf::Conf() : Block("") if (mail->Get("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(field)); } -- cgit