summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/vk_status.cpp')
-rw-r--r--protocols/VKontakte/src/vk_status.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_status.cpp b/protocols/VKontakte/src/vk_status.cpp
index d8299db63e..97e3e8d3bd 100644
--- a/protocols/VKontakte/src/vk_status.cpp
+++ b/protocols/VKontakte/src/vk_status.cpp
@@ -159,7 +159,7 @@ void CVkProto::OnReceiveStatus(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq)
return;
const JSONNode &jnAudio = jnResponse["audio"];
- if (jnAudio.isnull()) {
+ if (!jnAudio) {
CMString tszStatusText(jnResponse["text"].as_mstring());
if (tszStatusText[0] != TCHAR(9835))
setTString("OldStatusMsg", tszStatusText);