summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_files.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-09-14 10:54:01 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-09-14 10:54:01 +0000
commit86bf4dd4f66a8f0c0ba24b34a9475a09547ab50e (patch)
tree79d7ea21ec0a4ae183bdf15d6c05c7aa0be7f48b /protocols/VKontakte/src/vk_files.cpp
parent3b4d73751f2bdce3b26d070ea5b4a7eae3a3b750 (diff)
VKontakte: coverity fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15348 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_files.cpp')
-rw-r--r--protocols/VKontakte/src/vk_files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_files.cpp b/protocols/VKontakte/src/vk_files.cpp
index 32c8cbc7fb..ca9822b47a 100644
--- a/protocols/VKontakte/src/vk_files.cpp
+++ b/protocols/VKontakte/src/vk_files.cpp
@@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
HANDLE CVkProto::SendFile(MCONTACT hContact, const TCHAR *desc, TCHAR **files)
{
debugLogA("CVkProto::SendFile");
- isChatRoom(hContact);
+
LONG userID = getDword(hContact, "ID", -1);
if (!IsOnline() || ((userID == -1 || userID == VK_FEED_USER) && !isChatRoom(hContact)))
return (HANDLE)0;