From b68ca2a7e1035ecceb09fc1efe7529d5d8c989bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 26 Jul 2019 11:30:13 +0300 Subject: warning fixes --- plugins/Scriver/src/msgs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Scriver') diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 468894c6eb..7569692e0f 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -138,7 +138,7 @@ static INT_PTR SendMessageCommandWorker(MCONTACT hContact, wchar_t *pszMsg) if (szProto == nullptr) return 1; /* unknown contact */ - if (!CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_1, 0) & PF1_IMSEND) + if (!(CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_1, 0) & PF1_IMSEND)) return 1; HWND hwnd = Srmm_FindWindow(hContact); -- cgit v1.2.3