From 9390b42340def16388cd06ab851cc303db0c096e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Oct 2018 23:38:16 +0300 Subject: code cleaning --- plugins/Dbx_sqlite/src/dbcontacts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Dbx_sqlite/src') diff --git a/plugins/Dbx_sqlite/src/dbcontacts.cpp b/plugins/Dbx_sqlite/src/dbcontacts.cpp index 7800e8b09a..63347e74c4 100644 --- a/plugins/Dbx_sqlite/src/dbcontacts.cpp +++ b/plugins/Dbx_sqlite/src/dbcontacts.cpp @@ -81,8 +81,8 @@ MCONTACT CDbxSQLite::AddContact() DBCachedContact *cc = m_cache->AddContactToCache(hContact); if (cc == nullptr) return INVALID_CONTACT_ID; - NotifyEventHooks(g_hevEventAdded, hContact); + NotifyEventHooks(g_hevContactAdded, hContact); return hContact; } @@ -104,7 +104,7 @@ LONG CDbxSQLite::DeleteContact(MCONTACT hContact) } m_cache->FreeCachedContact(hContact); - NotifyEventHooks(g_hevEventDeleted, hContact); + NotifyEventHooks(g_hevContactDeleted, hContact); return 0; } -- cgit v1.2.3