diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-07-06 19:09:10 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-07-06 19:09:10 +0000 |
commit | 3c1e178085dca0f8e2d177f109f32002887691c3 (patch) | |
tree | e93d908e9315d8f31c53bd85e464f03b8c08bf93 /plugins/ContactsPlus/main.cpp | |
parent | 2d65a57c8f992afc542baae1ed4f335fbb5e8302 (diff) |
removed some unneeded legacy code
git-svn-id: http://svn.miranda-ng.org/main/trunk@798 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ContactsPlus/main.cpp')
-rw-r--r-- | plugins/ContactsPlus/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ContactsPlus/main.cpp b/plugins/ContactsPlus/main.cpp index fff3770566..9316e2ed54 100644 --- a/plugins/ContactsPlus/main.cpp +++ b/plugins/ContactsPlus/main.cpp @@ -136,7 +136,7 @@ static bool CheckContactsServiceSupport(const char* szProto) {
if (g_NewProtoAPI)
{ // there is no way to determine if the service exists (only proto_interface call is supported by 0.8+)
- if (SRCCallProtoService(szProto, PS_GETCAPS, PFLAGNUM_1, 0) & PF1_CONTACTSEND)
+ if (CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_1, 0) & PF1_CONTACTSEND)
return true;
}
else
@@ -161,7 +161,7 @@ static int HookPreBuildContactMenu(WPARAM wParam, LPARAM lParam) if (szProto && CheckContactsServiceSupport(szProto))
{ // known protocol, protocol supports contacts sending
// check the selected contact if it supports contacts receive
- if (SRCCallProtoService(szProto, PS_GETCAPS, PFLAG_MAXCONTACTSPERPACKET, (LPARAM)hContact))
+ if (CallProtoService(szProto, PS_GETCAPS, PFLAG_MAXCONTACTSPERPACKET, (LPARAM)hContact))
bVisible = TRUE;
}
|