summaryrefslogtreecommitdiff
path: root/src/modules/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-06 16:23:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-06 16:23:30 +0000
commit7fc9837e1f9bbd0f0687fea96cda8dfbf4c1932b (patch)
tree9ddad87da57e03931214005b5ccc0f5ac50dcd46 /src/modules/plugins
parentfbde0c85088a5d0c085f014803b687be108b826c (diff)
fix for Options/OldPluginSettings: old mode never worked, even being set in a database
git-svn-id: http://svn.miranda-ng.org/main/trunk@3906 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/plugins')
-rw-r--r--src/modules/plugins/pluginopts.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/plugins/pluginopts.cpp b/src/modules/plugins/pluginopts.cpp
index 12aa248e31..0b514b91c1 100644
--- a/src/modules/plugins/pluginopts.cpp
+++ b/src/modules/plugins/pluginopts.cpp
@@ -29,7 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern MUUID miid_clist, miid_database, miid_protocol;
HANDLE hevLoadModule, hevUnloadModule;
-static bool bOldMode = false;
+bool bOldMode = false;
/////////////////////////////////////////////////////////////////////////////////////////
// Plugins options page dialog
@@ -495,7 +495,6 @@ int PluginOptionsInit(WPARAM wParam, LPARAM)
void LoadPluginOptions()
{
- bOldMode = db_get_b(NULL, "Options", "OldPluginSettings", false) != 0;
hevLoadModule = CreateHookableEvent(ME_SYSTEM_MODULELOAD);
hevUnloadModule = CreateHookableEvent(ME_SYSTEM_MODULEUNLOAD);
}