diff options
author | George Hazan <ghazan@miranda.im> | 2018-10-10 23:26:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-10-10 23:26:08 +0300 |
commit | 39681c2aa83e33d46598f8aeecd10370b04cf364 (patch) | |
tree | ee9ef3cb681b97f5d9f8e046add17b8356e9d7ad /plugins/Dbx_sqlite/src/dbcontacts.cpp | |
parent | 802cbbae257dca16957d9b7e028be1d0d468e097 (diff) |
stupid schema with event handles sharing via CreateEventHook eliminated
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbcontacts.cpp')
-rw-r--r-- | plugins/Dbx_sqlite/src/dbcontacts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |