summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index 6922e85bd6..9156c7dbd8 100644
--- a/protocols/SkypeWeb/src/skype_utils.cpp
+++ b/protocols/SkypeWeb/src/skype_utils.cpp
@@ -594,7 +594,7 @@ INT_PTR CSkypeProto::ParseSkypeUriService(WPARAM, LPARAM lParam)
*(szSecondParam++) = 0;
// no command or message command
- if (!szCommand || (szCommand && !mir_wstrcmpi(szCommand, L"chat"))) {
+ if (!szCommand || !mir_wstrcmpi(szCommand, L"chat")) {
if (szSecondParam) {
wchar_t *szChatId = wcsstr(szSecondParam, L"id=");
if (szChatId) {