From d949a7ed17fd90bfc1ee5d85c83812b974037531 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 15 Nov 2012 21:04:26 +0000 Subject: - fix for the Online/Offline button in clist_mw - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2320 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/plugins/newplugins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/plugins') diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp index 4c971519c6..753720efb1 100644 --- a/src/modules/plugins/newplugins.cpp +++ b/src/modules/plugins/newplugins.cpp @@ -476,7 +476,7 @@ void SetPluginOnWhiteList(const TCHAR* pluginname, int allow) char plugName[MAX_PATH]; strncpy(plugName, StrConvA(pluginname), SIZEOF(plugName)); strlwr(plugName); - DBWriteContactSettingByte(NULL, PLUGINDISABLELIST, plugName, allow == 0); + db_set_b(NULL, PLUGINDISABLELIST, plugName, allow == 0); } // returns 1 if the plugin should be enabled within this profile, filename is always lower case -- cgit v1.2.3