summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-22 18:44:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-22 18:44:11 +0000
commit6750f0c059e372396f0d7c3953116e15704d6681 (patch)
tree589dc1e375f444ce1f94184ad8542635c71272d2
parent28c30ab287d4eb338b83113a0f6d27081cd72785 (diff)
fix for the core logger disabling
git-svn-id: http://svn.miranda-ng.org/main/trunk@9922 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/modules/netlib/netliblog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/netlib/netliblog.cpp b/src/modules/netlib/netliblog.cpp
index 8b09f49d1d..88a9b5bb96 100644
--- a/src/modules/netlib/netliblog.cpp
+++ b/src/modules/netlib/netliblog.cpp
@@ -302,7 +302,7 @@ static INT_PTR NetlibLog(WPARAM wParam, LPARAM lParam)
}
/* if the Netlib user handle is NULL, just pretend its not */
- if (nlu != NULL && !nlu->toLog)
+ if (!(nlu != NULL ? nlu->toLog : logOptions.toLog))
return 1;
LARGE_INTEGER liTimeNow;