summaryrefslogtreecommitdiff
path: root/src/checker/errors/mail/empty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/checker/errors/mail/empty.cpp')
-rw-r--r--src/checker/errors/mail/empty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker/errors/mail/empty.cpp b/src/checker/errors/mail/empty.cpp
index 06f6f4c..a893fbb 100644
--- a/src/checker/errors/mail/empty.cpp
+++ b/src/checker/errors/mail/empty.cpp
@@ -4,6 +4,6 @@ namespace smtp::checker::errors::settings
{
bool Empty::Check( std::string const& line ) const
{
- return !line.empty();
+ return !line.empty() && line != " ";
}
}