summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/anopesmtp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/anopesmtp.cpp b/src/tools/anopesmtp.cpp
index 1f2c0febb..a76d1cca4 100644
--- a/src/tools/anopesmtp.cpp
+++ b/src/tools/anopesmtp.cpp
@@ -119,7 +119,7 @@ void alog(const char *fmt, ...)
return;
std::fstream file;
- file.open(get_logname().c_str(), std::ios_base::out);
+ file.open(get_logname().c_str(), std::ios_base::out | std::ios_base::app);
if (!file.is_open())
return;