diff options
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r-- | plugins/Scriver/src/chat_options.cpp | 8 | ||||
-rw-r--r-- | plugins/Scriver/src/msgoptions.cpp | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/plugins/Scriver/src/chat_options.cpp b/plugins/Scriver/src/chat_options.cpp index df21a3b7bf..2c1a041325 100644 --- a/plugins/Scriver/src/chat_options.cpp +++ b/plugins/Scriver/src/chat_options.cpp @@ -363,7 +363,9 @@ void ChatOptInitialize(WPARAM wParam) odp.szTab.a = LPGEN("General");
g_plugin.addOptions(wParam, &odp);
- odp.pDialog = new CLogOptsDlg();
- odp.szTab.a = LPGEN("Log formatting");
- g_plugin.addOptions(wParam, &odp);
+ if (!Chat::bEnableCustomLogs) {
+ 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 3ffb686ae7..b51cddc4fa 100644 --- a/plugins/Scriver/src/msgoptions.cpp +++ b/plugins/Scriver/src/msgoptions.cpp @@ -805,9 +805,11 @@ int OptInitialise(WPARAM wParam, LPARAM) odp.szTab.a = LPGEN("Layout");
g_plugin.addOptions(wParam, &odp);
- odp.pDialog = new CLogOptionsDlg();
- odp.szTab.a = LPGEN("Event log");
- g_plugin.addOptions(wParam, &odp);
+ if (!Srmm_IsCustomLogUsed()) {
+ odp.pDialog = new CLogOptionsDlg();
+ odp.szTab.a = LPGEN("Event log");
+ g_plugin.addOptions(wParam, &odp);
+ }
////////////////////////////////////////////////////////////////////////////////////////
odp.szGroup.a = LPGEN("Message sessions");
|