diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/proto_internal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/proto_internal.cpp b/src/mir_app/src/proto_internal.cpp index bb57cde70c..5a0dd734fa 100644 --- a/src/mir_app/src/proto_internal.cpp +++ b/src/mir_app/src/proto_internal.cpp @@ -203,7 +203,7 @@ struct DEFAULT_PROTO_INTERFACE : public PROTO_INTERFACE {
CCSDATA ccs = { hContact, PSR_MESSAGE, 0, (LPARAM)evt };
INT_PTR res = ProtoCallService(m_szModuleName, PSR_MESSAGE, 0, (LPARAM)&ccs);
- return (res != CALLSERVICE_NOTFOUND) ? (int)res : CSuper::RecvMsg(hContact, evt);
+ return (res == CALLSERVICE_NOTFOUND) ? -1 : (int)res;
}
virtual int __cdecl RecvUrl(MCONTACT hContact, PROTORECVEVENT* evt) override
|