summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-31 15:17:03 +0100
committerSadie Powell <sadie@witchery.services>2024-03-31 15:17:03 +0100
commit1b631e96bd885ad0e4e2b71de8eca3b96b073d02 (patch)
tree544b4cf0164717f23d1e9cf413e2a8fcb815e2fd /src
parent3b4a4da52d0253da10394aaea17d18fab116114e (diff)
Add a default value for sendmailpath.
Diffstat (limited to 'src')
-rw-r--r--src/mail.cpp2
1 files changed, 1 insertions, 1 deletions
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<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)