diff options
author | George Hazan <george.hazan@gmail.com> | 2023-06-07 20:38:42 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-06-07 20:38:42 +0300 |
commit | a2a06f0dabca964ba98049fc68fab57aebbe8c5f (patch) | |
tree | f71e89debbc8a804bf81cb89047e9561d2325fee | |
parent | e2f89ec27ee79ef51c271f40d3fdaf42496d066a (diff) |
fixes #3547 (Не сохранять настройки нетлога для удалённых учётных записей)
-rw-r--r-- | src/mir_app/src/netlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/netlib.cpp b/src/mir_app/src/netlib.cpp index 6591b6f68b..89da9164bf 100644 --- a/src/mir_app/src/netlib.cpp +++ b/src/mir_app/src/netlib.cpp @@ -191,7 +191,7 @@ MIR_APP_DLL(HNETLIBUSER) Netlib_RegisterUser(const NETLIBUSER *nlu) thisUser->settings.enableUPnP = GetNetlibUserSettingInt(thisUser->user.szSettingsModule, "NLEnableUPnP", 1); //default to on
thisUser->settings.validateSSL = GetNetlibUserSettingInt(thisUser->user.szSettingsModule, "NLValidateSSL", 0);
- thisUser->toLog = GetNetlibUserSettingInt(thisUser->user.szSettingsModule, "NLlog", 0);
+ thisUser->toLog = db_get_dw(0, thisUser->user.szSettingsModule, "NLlog");
mir_cslock lck(csNetlibUser);
netlibUser.insert(thisUser);
|