summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-26 11:30:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-26 11:30:21 +0300
commitb68ca2a7e1035ecceb09fc1efe7529d5d8c989bf (patch)
treecb23a3a4faa8e890a072085cc625fb93b4a01892 /plugins/Scriver
parentde4efd42afb991d26104aa37b8a4aa97ef7b5703 (diff)
warning fixes
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/msgs.cpp2
1 files changed, 1 insertions, 1 deletions
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);