summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-12 15:55:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-12 15:55:29 +0000
commit027bb1a89d1d21ac1465d3d40ed5ae5b7bfcd3cb (patch)
tree7728e93980a9857ee4a3d5f72772293d120bc76d
parentfee4c843c119ea024c8c88fc451c2eb6c028abd9 (diff)
oops
git-svn-id: http://svn.miranda-ng.org/main/trunk@7617 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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 ec69b2a3ee..102ca3b24e 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -177,7 +177,7 @@ int CVkProto::SendMsg(HANDLE hContact, int flags, const char *msg)
ULONG msgId = ::InterlockedIncrement(&m_msgId);
AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_GET, "/method/messages.send.json", true, &CVkProto::OnSendMessage)
- << INT_PARAM("type", 0) << INT_PARAM("uid", m_myUserId) << CHAR_PARAM("message", msg);
+ << INT_PARAM("type", 0) << INT_PARAM("uid", userID) << CHAR_PARAM("message", msg);
pReq->pData = (char*)hContact;
pReq->pUserInfo = (void*)msgId;
Push(pReq);