From 1b631e96bd885ad0e4e2b71de8eca3b96b073d02 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 31 Mar 2024 15:17:03 +0100 Subject: Add a default value for sendmailpath. --- src/mail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mail.cpp b/src/mail.cpp index 762c889a5..36b871437 100644 --- a/src/mail.cpp +++ b/src/mail.cpp @@ -15,7 +15,7 @@ Mail::Message::Message(const Anope::string &sf, const Anope::string &mailto, const Anope::string &a, const Anope::string &s, const Anope::string &m) : Thread() - , sendmail_path(Config->GetBlock("mail")->Get("sendmailpath")) + , sendmail_path(Config->GetBlock("mail")->Get("sendmailpath", "/usr/sbin/sendmail -it")) , send_from(sf) , mail_to(mailto) , addr(a) -- cgit