diff options
Diffstat (limited to 'init.cpp')
-rw-r--r-- | init.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -88,14 +88,16 @@ void InitVars() extern int JuickOptInit(WPARAM wParam,LPARAM lParam); extern int GetJabberInterface(WPARAM, LPARAM); -extern int HandleNewContact(WPARAM w, LPARAM l); +extern int HandleDbNewContact(WPARAM w, LPARAM l); +extern int HandleDbContactDeleted(WPARAM w, LPARAM l); extern void FindJuickAccounts(); static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) { GetJabberInterface(0,0); HookEvent(ME_OPT_INITIALISE, JuickOptInit); hAccountsChanges = HookEvent(ME_PROTO_ACCLISTCHANGED, GetJabberInterface); - hDbContactAdded = HookEvent(ME_DB_CONTACT_ADDED, HandleNewContact); + hDbContactAdded = HookEvent(ME_DB_CONTACT_ADDED, HandleDbNewContact); + hDbContactAdded = HookEvent(ME_DB_CONTACT_DELETED, HandleDbContactDeleted); FindJuickAccounts(); return 0; } |