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.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/checker/errors/mail/empty.cpp b/src/checker/errors/mail/empty.cpp
index 8a1591e..c39516e 100644
--- a/src/checker/errors/mail/empty.cpp
+++ b/src/checker/errors/mail/empty.cpp
@@ -5,11 +5,6 @@ namespace smtp::checker::errors::mail
{
bool Empty::Check( std::string const& line ) const
{
- auto result = !line.empty() && line != " ";
- if( !result )
- {
- logger::LoggerSet::GetInstance()->LogError( GetMethodName(), "Mails are empty" );
- }
- return result;
+ return !line.empty() && line != " ";
}
}