diff options
author | George Hazan <george.hazan@gmail.com> | 2014-10-12 19:58:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-10-12 19:58:51 +0000 |
commit | a79e53790cc9b73c745aea0852f5c82d240613e8 (patch) | |
tree | 45b88f276cee6d2da40aebff8dc2f0372b780de2 /src/modules/metacontacts/meta_menu.cpp | |
parent | 2e9c2fadde4ab6c9c419471ae1ec21bf56f761c6 (diff) |
this variable should also be deleted
git-svn-id: http://svn.miranda-ng.org/main/trunk@10772 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_menu.cpp')
-rw-r--r-- | src/modules/metacontacts/meta_menu.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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);
|