diff options
Diffstat (limited to 'src/mail.cpp')
-rw-r--r-- | src/mail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail.cpp b/src/mail.cpp index 0094f9b30..80a80d6d7 100644 --- a/src/mail.cpp +++ b/src/mail.cpp @@ -56,7 +56,7 @@ bool Mail::Send(User *u, NickCore *nc, BotInfo *service, const Anope::string &su return false; Configuration::Block *b = Config->GetBlock("mail"); - + if (!u) { if (!b->Get<bool>("usemail") || b->Get<const Anope::string>("sendfrom").empty()) |