summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/globals.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-07 22:32:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-07 22:32:21 +0300
commit0bc0ec3803c1d95798e551ec7c1d431d2ac98075 (patch)
tree4df455c15d2c9abc174b32bc7df5c309e6d9aef2 /plugins/TabSRMM/src/globals.cpp
parent9dcd3da1170b80281bfe51717c186049365b3044 (diff)
fix for writing options into db
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r--plugins/TabSRMM/src/globals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp
index ac23004e1c..4260385af8 100644
--- a/plugins/TabSRMM/src/globals.cpp
+++ b/plugins/TabSRMM/src/globals.cpp
@@ -494,7 +494,7 @@ int CGlobals::OkToExit(WPARAM, LPARAM)
CMimAPI::m_shutDown = true;
PluginConfig.globalContainerSettings.fPrivate = false;
- ::db_set_blob(0, SRMSGMOD_T, CNT_KEYNAME, &PluginConfig.globalContainerSettings, sizeof(TContainerSettings));
+ Utils::WriteContainerSettingsToDB(0, &PluginConfig.globalContainerSettings, nullptr);
return 0;
}