summaryrefslogtreecommitdiff
path: root/src/modules/metacontacts/meta_addto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-09 15:00:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-09 15:00:43 +0000
commit8d2b4094f891d20381f65e3180b2b053830f3050 (patch)
tree04cb5010af323b37ec67b75fadbeb34ff9c28d9a /src/modules/metacontacts/meta_addto.cpp
parentad0169e0110232390474d23274bdc5dc2d385a9a (diff)
- unused options removed
- duplicated events in history fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@8504 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_addto.cpp')
-rw-r--r--src/modules/metacontacts/meta_addto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/metacontacts/meta_addto.cpp b/src/modules/metacontacts/meta_addto.cpp
index d411c32aff..98d1a310e8 100644
--- a/src/modules/metacontacts/meta_addto.cpp
+++ b/src/modules/metacontacts/meta_addto.cpp
@@ -116,7 +116,7 @@ static INT_PTR CALLBACK Meta_SelectDialogProc(HWND hwndDlg, UINT msg, WPARAM wPa
return TRUE;
}
- if (IsMeta(cc)) {
+ if (cc->IsMeta()) {
MessageBox(hwndDlg,
TranslateT("This contact is a MetaContact.\nYou can't add a MetaContact to another MetaContact.\n\nPlease choose another."),
TranslateT("MetaContact Conflict"), MB_ICONERROR);
@@ -124,7 +124,7 @@ static INT_PTR CALLBACK Meta_SelectDialogProc(HWND hwndDlg, UINT msg, WPARAM wPa
return TRUE;
}
- if (IsSub(cc)) {
+ if (cc->IsSub()) {
MessageBox(hwndDlg,
TranslateT("This contact is already associated to a MetaContact.\nYou cannot add a contact to multiple MetaContacts."),
TranslateT("Multiple MetaContacts"), MB_ICONERROR);