diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-10 12:54:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-10 12:54:20 +0300 |
commit | ef0ba268b340eaf1217a96d763342c25668588b4 (patch) | |
tree | 17396375e213043c2ce1c59b50b7f30488dcb83d /protocols/YAMN/src/proto | |
parent | 33733576589076f080ddfa000b899843016a2597 (diff) |
Protocols: preventing recursive contact deletion
Diffstat (limited to 'protocols/YAMN/src/proto')
-rw-r--r-- | protocols/YAMN/src/proto/pop3/pop3opt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/YAMN/src/proto/pop3/pop3opt.cpp b/protocols/YAMN/src/proto/pop3/pop3opt.cpp index a1dfa14199..195358f197 100644 --- a/protocols/YAMN/src/proto/pop3/pop3opt.cpp +++ b/protocols/YAMN/src/proto/pop3/pop3opt.cpp @@ -528,7 +528,7 @@ public: DlgSetItemTextW(m_hwnd, IDC_STTIMELEFT, TranslateT("Please wait while no account is in use."));
if (ActualAccount->hContact != NULL)
- db_delete_contact(ActualAccount->hContact);
+ db_delete_contact(ActualAccount->hContact, true);
CallService(MS_YAMN_DELETEACCOUNT, (WPARAM)POP3Plugin, (LPARAM)ActualAccount);
|