From 39681c2aa83e33d46598f8aeecd10370b04cf364 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Oct 2018 23:26:08 +0300 Subject: stupid schema with event handles sharing via CreateEventHook eliminated --- plugins/Dbx_sqlite/src/dbcontacts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Dbx_sqlite/src/dbcontacts.cpp') diff --git a/plugins/Dbx_sqlite/src/dbcontacts.cpp b/plugins/Dbx_sqlite/src/dbcontacts.cpp index 882b04d30e..7800e8b09a 100644 --- a/plugins/Dbx_sqlite/src/dbcontacts.cpp +++ b/plugins/Dbx_sqlite/src/dbcontacts.cpp @@ -81,7 +81,7 @@ MCONTACT CDbxSQLite::AddContact() DBCachedContact *cc = m_cache->AddContactToCache(hContact); if (cc == nullptr) return INVALID_CONTACT_ID; - NotifyEventHooks(hContactAddedEvent, hContact); + NotifyEventHooks(g_hevEventAdded, hContact); return hContact; } @@ -104,7 +104,7 @@ LONG CDbxSQLite::DeleteContact(MCONTACT hContact) } m_cache->FreeCachedContact(hContact); - NotifyEventHooks(hContactDeletedEvent, hContact); + NotifyEventHooks(g_hevEventDeleted, hContact); return 0; } -- cgit v1.2.3