diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-18 15:03:45 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-18 15:03:45 +0300 |
commit | 6eafb411ed98a1bedde437e5354fa522a04bca4d (patch) | |
tree | 81780d33c59ae99c347e82917abcc81565e5a11b /src | |
parent | cfd011825f87c396fde3a0d8a13afcd31bd3ef0f (diff) |
this check isn't needed anymore
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/proto_chains.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mir_app/src/proto_chains.cpp b/src/mir_app/src/proto_chains.cpp index 7e00c5c56f..7e7d650c2c 100644 --- a/src/mir_app/src/proto_chains.cpp +++ b/src/mir_app/src/proto_chains.cpp @@ -75,10 +75,7 @@ MIR_APP_DLL(INT_PTR) Proto_ChainSend(int iOrder, CCSDATA *ccs) if (pa == nullptr || pa->ppro == nullptr)
return 1;
- if (pa->bOldProto)
- ret = CallContactServiceInt(ccs->hContact, szProto, ccs->szProtoService, -1, (LPARAM)ccs);
- else
- ret = CallContactServiceInt(ccs->hContact, szProto, ccs->szProtoService, ccs->wParam, ccs->lParam);
+ ret = CallContactServiceInt(ccs->hContact, szProto, ccs->szProtoService, ccs->wParam, ccs->lParam);
if (ret == CALLSERVICE_NOTFOUND)
ret = 1;
|