From 53fe3e46177d17b4941610de19f5cc6210700cb4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Nov 2018 21:44:56 +0300 Subject: db_* functions replaced with g_plugin calls --- plugins/KeyboardNotify/src/ignore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/KeyboardNotify/src/ignore.cpp') diff --git a/plugins/KeyboardNotify/src/ignore.cpp b/plugins/KeyboardNotify/src/ignore.cpp index 35abefc6d4..063a5a9432 100644 --- a/plugins/KeyboardNotify/src/ignore.cpp +++ b/plugins/KeyboardNotify/src/ignore.cpp @@ -33,9 +33,9 @@ static DWORD GetMask(MCONTACT hContact) mask=0; else { if(db_get_b(hContact, "CList", "Hidden", 0) || db_get_b(hContact, "CList", "NotOnList", 0)) - mask = db_get_dw(NULL, MODULENAME, "Mask1", 0); + mask = g_plugin.getDword("Mask1", 0); else - mask = db_get_dw(NULL, MODULENAME, "Default1", 0); + mask = g_plugin.getDword("Default1", 0); } } return mask; -- cgit v1.2.3