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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user