summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-27 19:01:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-27 19:01:09 +0000
commit0800db775a4da41507478a02fa8cb9e58f35b0c9 (patch)
tree7472a040478be43bf27f27daa16c71c9794e5cb0 /src/modules
parente7f9349e332baac6ae96a93ceca2a2611409966f (diff)
db_mc_isMeta / db_mc_isSub - first functions of the new cache-based MC layer
git-svn-id: http://svn.miranda-ng.org/main/trunk@8311 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/metacontacts/meta_utils.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/metacontacts/meta_utils.cpp b/src/modules/metacontacts/meta_utils.cpp
index dfb7be0685..8a307bbb6c 100644
--- a/src/modules/metacontacts/meta_utils.cpp
+++ b/src/modules/metacontacts/meta_utils.cpp
@@ -713,12 +713,10 @@ int Meta_SetHandles(void)
if (contact_number < 0) {
// problem!
MessageBox(0, TranslateT("Subcontact contact number < 0 - deleting MetaContact"), nick_buffer, MB_OK | MB_ICONERROR);
- //CallService(MS_DB_CONTACT_DELETE, (WPARMA)hContact, 0);
hNextContact = db_find_next(hContact);
- Meta_Delete(hContact, (LPARAM)1);
+ Meta_Delete(hContact, 1);
hContact = hNextContact;
continue;
- //return 1;
}
// ensure the window open flag is not present