From fdfc7bdd1090a495dce55f651f159592ce77bdb1 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 16 Sep 2010 07:45:03 +0300 Subject: removing key prescense sign id's from all users on exit fixed first run registry settings reading --- init.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'init.cpp') diff --git a/init.cpp b/init.cpp index d12472c..62b9d80 100644 --- a/init.cpp +++ b/init.cpp @@ -225,6 +225,8 @@ static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) extern "C" int __declspec(dllexport) Unload(void) { + for (HANDLE hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0); hContact; hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM)hContact, 0)) + DBDeleteContactSetting(hContact, szGPGModuleName, "KeyID_Prescense"); mir_free(inopentag); mir_free(inclosetag); mir_free(outopentag); -- cgit v1.2.3