summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2010-12-07 07:59:30 +0100
committerAdam <Adam@anope.org>2010-12-12 19:37:03 -0500
commit099ead02a57e6081706e628b1e3d5ebf97ab7d94 (patch)
treecbd2018711ac937b4110e0ffb2fc01308a864450 /src/logger.cpp
parentf1d04a2f8e4e9077d07a94b64478bb331b49bbc0 (diff)
store the ssl fingerprint in the userstruct
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 70ce988f6..c4423e23c 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -196,6 +196,8 @@ Log::~Log()
{
if (nofork && debug && this->Type >= LOG_NORMAL && this->Type <= LOG_DEBUG + debug - 1)
std::cout << GetTimeStamp() << " Debug: " << this->buf.str() << std::endl;
+ else if (nofork && this->Type <= LOG_TERMINAL)
+ std::cout << GetTimeStamp() << " " << this->buf.str() << std::endl;
else if (this->Type == LOG_TERMINAL)
std::cout << this->buf.str() << std::endl;
for (unsigned i = 0; Config && i < Config->LogInfos.size(); ++i)