From 6750f0c059e372396f0d7c3953116e15704d6681 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 Jul 2014 18:44:11 +0000 Subject: fix for the core logger disabling git-svn-id: http://svn.miranda-ng.org/main/trunk@9922 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/netlib/netliblog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3