diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-13 21:42:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-13 21:42:51 +0300 |
commit | 8890041a964a9ebd1f421f0a27b56b35862cb5ab (patch) | |
tree | 1cc9954601ca9d14e669620ddf7954424e15251e /plugins/KeyboardNotify/src/ignore.cpp | |
parent | e4bb8311a88022722a563a94bfba3b5607a1eb5b (diff) |
ClientChangeNotify, KeyboardNotify, RecentContacts -> g_plugin
Diffstat (limited to 'plugins/KeyboardNotify/src/ignore.cpp')
-rw-r--r-- | plugins/KeyboardNotify/src/ignore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/KeyboardNotify/src/ignore.cpp b/plugins/KeyboardNotify/src/ignore.cpp index 063a5a9432..190f82cf82 100644 --- a/plugins/KeyboardNotify/src/ignore.cpp +++ b/plugins/KeyboardNotify/src/ignore.cpp @@ -27,7 +27,7 @@ static const DWORD ignoreIdToPf1[IGNOREEVENT_MAX] = {PF1_IMRECV, PF1_URLRECV, PF static DWORD GetMask(MCONTACT hContact)
{
- DWORD mask = db_get_dw(hContact, MODULENAME, "Mask1", (DWORD)(-1));
+ DWORD mask = g_plugin.getDword(hContact, "Mask1", (DWORD)(-1));
if(mask == (DWORD)(-1)) {
if(hContact == NULL)
mask=0;
@@ -164,7 +164,7 @@ static void SaveItemMask(HWND hwndList, MCONTACT hContact, HANDLE hItem, const c if(iImage && iImage != EMPTY_EXTRA_ICON)
mask |= 1<<i;
}
- db_set_dw(hContact, MODULENAME, pszSetting, mask);
+ g_plugin.setDword(hContact, pszSetting, mask);
}
static void SetAllContactIcons(HWND hwndList)
|