mirror of
https://github.com/anope/anope.git
synced 2026-06-29 11:56:38 +02:00
Fixed anopesmtp logging
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user