summaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp2
1 files changed, 2 insertions, 0 deletions
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);