summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 0a2a31729c..d6c514af57 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -134,7 +134,7 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) :
m_ReturnChatMessage = getTStringA("ReturnChatMessage");
if (m_ReturnChatMessage == NULL)
- m_ReturnChatMessage = TranslateT("I'm back");
+ m_ReturnChatMessage = mir_tstrdup(TranslateT("I'm back"));
// Set all contacts offline -- in case we crashed
SetAllContactStatuses(ID_STATUS_OFFLINE);