summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/VKontakte/src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 826dfa7362..a0e49f8cce 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -933,7 +933,7 @@ void CVkProto::MarkRemoteRead(MCONTACT hContact, VKMessageID_t iMessageId)
MEVENT hReadEvent = getDword(hContact, "RemoteRead");
if (hReadEvent) {
DB::EventInfo dbeiRead(hReadEvent);
- VKMessageID_t iReadMessageId = strtol(strcat((char *)dbeiRead.szId, "_"), nullptr, 10);
+ VKMessageID_t iReadMessageId = strtol(dbeiRead.szId, nullptr, 10);
if (iReadMessageId >= iMessageId)
return;
}