summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/dbcontacts.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-10-10 23:26:08 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-10-10 23:26:08 +0300
commit39681c2aa83e33d46598f8aeecd10370b04cf364 (patch)
treeee9ef3cb681b97f5d9f8e046add17b8356e9d7ad /plugins/Dbx_sqlite/src/dbcontacts.cpp
parent802cbbae257dca16957d9b7e028be1d0d468e097 (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.cpp4
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;
}