summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-04-02 16:50:52 +0100
committerSadie Powell <sadie@witchery.services>2024-04-02 16:52:41 +0100
commit8b4cd65e2aed386327d19902843bae5e3a19126c (patch)
tree9577229aa206d76a55e228db4903a3f1fc09c49d /src
parentc08aaa86d1ada72ad6e185837f9c179693b60c22 (diff)
Fix erroring out when sendmailpath is empty.
This has a default now.
Diffstat (limited to 'src')
-rw-r--r--src/config.cpp2
1 files changed, 1 insertions, 1 deletions
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<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));
}