summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-06-06 20:20:55 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-06-06 20:20:55 +0000
commit7edb23f3ad2a6fa8c239b2234d6e1c8df00005be (patch)
tree8e3876ef81c48c07f2128bc9f40e611e7bffb960 /protocols/VKontakte
parent76b4757ac291b6d1292be6ba0fb2bb3fb705c139 (diff)
VKontakte: crashfix on muc starting
git-svn-id: http://svn.miranda-ng.org/main/trunk@14030 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/vk_chats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp
index 5eaab37ad1..bc4520a859 100644
--- a/protocols/VKontakte/src/vk_chats.cpp
+++ b/protocols/VKontakte/src/vk_chats.cpp
@@ -138,7 +138,7 @@ void CVkProto::OnReceiveChatInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe
const JSONNode &jnInfo = jnResponse["info"];
if (!jnInfo.isnull()) {
CMString tszTitle(jnInfo["title"].as_mstring());
- if (tszTitle == cc->m_tszTopic) {
+ if (tszTitle == cc->m_tszTopic ? cc->m_tszTopic : _T("")) {
cc->m_tszTopic = mir_tstrdup(tszTitle);
setTString(cc->m_hContact, "Nick", tszTitle);