From a79e53790cc9b73c745aea0852f5c82d240613e8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 12 Oct 2014 19:58:51 +0000 Subject: this variable should also be deleted git-svn-id: http://svn.miranda-ng.org/main/trunk@10772 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_menu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/metacontacts/meta_menu.cpp b/src/modules/metacontacts/meta_menu.cpp index 108c4d8445..f2b1822e6d 100644 --- a/src/modules/metacontacts/meta_menu.cpp +++ b/src/modules/metacontacts/meta_menu.cpp @@ -112,6 +112,9 @@ void Meta_RemoveContactNumber(DBCachedContact *ccMeta, int number, bool bUpdateI // remove the last one int id = ccMeta->nSubs - 1; char buffer[512]; + mir_snprintf(buffer, SIZEOF(buffer), "Handle%d", id); + db_unset(ccMeta->contactID, META_PROTO, buffer); + mir_snprintf(buffer, SIZEOF(buffer), "Protocol%d", id); db_unset(ccMeta->contactID, META_PROTO, buffer); -- cgit v1.2.3