diff options
author | George Hazan <george.hazan@gmail.com> | 2014-08-21 19:48:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-08-21 19:48:33 +0000 |
commit | 84ebc45104a7dff207e3b03764ac056dc143450b (patch) | |
tree | 2334da6b589bf0da0f7546c88ed2a985136a4038 /src | |
parent | d8603c99f263b786652d821a3809156346ca9848 (diff) |
two forgotten places (thx unsane for pointing to)
git-svn-id: http://svn.miranda-ng.org/main/trunk@10265 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/findadd/findadd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/findadd/findadd.cpp b/src/modules/findadd/findadd.cpp index 51af328507..d30f708bf6 100644 --- a/src/modules/findadd/findadd.cpp +++ b/src/modules/findadd/findadd.cpp @@ -1008,7 +1008,7 @@ static INT_PTR FindAddCommand(WPARAM, LPARAM) continue;
int protoCaps = CallProtoServiceInt(NULL,pa->szModuleName, PS_GETCAPS, PFLAGNUM_1, 0);
- if (protoCaps & (PF1_BASICSEARCH | PF1_SEARCHBYEMAIL | PF1_SEARCHBYNAME | PF1_EXTSEARCHUI))
+ if (protoCaps & PF1_ANYSEARCH)
netProtoCount++;
}
if (netProtoCount > 0)
@@ -1049,7 +1049,7 @@ static int OnSystemModulesLoaded(WPARAM, LPARAM) for (int i=0; i < accounts.getCount(); i++) {
PROTOACCOUNT *pa = accounts[i];
int protoCaps = CallProtoServiceInt(NULL, pa->szModuleName, PS_GETCAPS, PFLAGNUM_1, 0);
- if (protoCaps & (PF1_BASICSEARCH | PF1_SEARCHBYEMAIL | PF1_SEARCHBYNAME | PF1_EXTSEARCHUI))
+ if (protoCaps & PF1_ANYSEARCH)
netProtoCount++;
}
|