1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 14:36:38 +02:00

Add a default value for sendmailpath.

This commit is contained in:
Sadie Powell
2024-03-31 15:17:03 +01:00
parent 3b4a4da52d
commit 1b631e96bd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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<const Anope::string>("sendmailpath"))
, sendmail_path(Config->GetBlock("mail")->Get<const Anope::string>("sendmailpath", "/usr/sbin/sendmail -it"))
, send_from(sf)
, mail_to(mailto)
, addr(a)