summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-01 15:46:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-01 15:46:26 +0300
commit5687e029d151d4590693c66da8440acb0fca1910 (patch)
tree2bc1c22693e9f0da2aae6cd74075a58dcd20a6d7 /plugins/Db_autobackups/src/main.cpp
parent03b421197a6af2c626b87830f7309b7110ce5561 (diff)
CPluginDlgBase: this class became useless because CMPlugin already has module setting
Diffstat (limited to 'plugins/Db_autobackups/src/main.cpp')
-rw-r--r--plugins/Db_autobackups/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Db_autobackups/src/main.cpp b/plugins/Db_autobackups/src/main.cpp
index 4c52633c9e..db34035088 100644
--- a/plugins/Db_autobackups/src/main.cpp
+++ b/plugins/Db_autobackups/src/main.cpp
@@ -21,7 +21,7 @@ PLUGININFOEX pluginInfoEx = {
};
CMPlugin::CMPlugin() :
- PLUGIN<CMPlugin>(MODULE, pluginInfoEx)
+ PLUGIN<CMPlugin>(MODULENAME, pluginInfoEx)
{}
/////////////////////////////////////////////////////////////////////////////////////////
@@ -87,7 +87,7 @@ static int ModulesLoad(WPARAM, LPARAM)
}
else {
DBVARIANT dbv;
- if (!db_get_ws(0, MODULE, "Folder", &dbv)) {
+ if (!db_get_ws(0, MODULENAME, "Folder", &dbv)) {
wcsncpy_s(options.folder, dbv.ptszVal, _TRUNCATE);
db_free(&dbv);
}