diff options
-rw-r--r-- | src/modules/netlib/netliblog.cpp | 2 |
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;
|