diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-18 14:20:19 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-18 14:20:19 +0300 |
commit | 6ed0f28f9288a76e479b916f2e579b1a61ac47fd (patch) | |
tree | 3d8f87c6b52e2f1b4e234a50d7fd5c6b22897830 /plugins/Scriver/src | |
parent | a6173f891d255c44118f135992a6d5585ad22490 (diff) |
Srmm_IsCustomLogUsed should take the 'forGroupchats' parameter into consideration
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r-- | plugins/Scriver/src/chat_options.cpp | 2 | ||||
-rw-r--r-- | plugins/Scriver/src/msgoptions.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat_options.cpp b/plugins/Scriver/src/chat_options.cpp index 2c1a041325..8785129a98 100644 --- a/plugins/Scriver/src/chat_options.cpp +++ b/plugins/Scriver/src/chat_options.cpp @@ -363,7 +363,7 @@ void ChatOptInitialize(WPARAM wParam) odp.szTab.a = LPGEN("General");
g_plugin.addOptions(wParam, &odp);
- if (!Chat::bEnableCustomLogs) {
+ if (!Srmm_IsCustomLogUsed(true)) {
odp.pDialog = new CLogOptsDlg();
odp.szTab.a = LPGEN("Log formatting");
g_plugin.addOptions(wParam, &odp);
diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp index 9e60d96540..2ff219b29b 100644 --- a/plugins/Scriver/src/msgoptions.cpp +++ b/plugins/Scriver/src/msgoptions.cpp @@ -805,7 +805,7 @@ int OptInitialise(WPARAM wParam, LPARAM) odp.szTab.a = LPGEN("Layout");
g_plugin.addOptions(wParam, &odp);
- odp.pDialog = new CLogOptionsDlg(Srmm_IsCustomLogUsed() ? IDD_OPT_MSGHIST : IDD_OPT_MSGLOG);
+ odp.pDialog = new CLogOptionsDlg(Srmm_IsCustomLogUsed(false) ? IDD_OPT_MSGHIST : IDD_OPT_MSGLOG);
odp.szTab.a = LPGEN("Event log");
g_plugin.addOptions(wParam, &odp);
|