summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r--protocols/VKontakte/src/vk_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp
index ad75928ae9..3e22601291 100644
--- a/protocols/VKontakte/src/vk_messages.cpp
+++ b/protocols/VKontakte/src/vk_messages.cpp
@@ -69,7 +69,7 @@ int CVkProto::SendMsg(MCONTACT hContact, int, const char *szMsg)
if (!m_bServerDelivery)
ForkThread(&CVkProto::SendMsgAck, new CVkSendMsgParam(hContact, msgId));
- if (retMsg) {
+ if (!IsEmpty(retMsg)) {
Sleep(330);
SendMsg(hContact, 0, retMsg);
}