From 84ebc45104a7dff207e3b03764ac056dc143450b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 21 Aug 2014 19:48:33 +0000 Subject: two forgotten places (thx unsane for pointing to) git-svn-id: http://svn.miranda-ng.org/main/trunk@10265 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/findadd/findadd.cpp | 4 ++-- 1 file 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++; } -- cgit v1.2.3