summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/communication.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-10-22 14:08:12 +0000
committerRobert Pösel <robyer@seznam.cz>2015-10-22 14:08:12 +0000
commita40c62952aa6bd3982280f7a493d82f2a474502d (patch)
treec1d19c5c83661336ebedb2366e43fe85e2baf1dd /protocols/Omegle/src/communication.cpp
parent9dea4f315e0242de19e23d19598abda6bdebea40 (diff)
Omegle: one more fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15595 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src/communication.cpp')
-rw-r--r--protocols/Omegle/src/communication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Omegle/src/communication.cpp b/protocols/Omegle/src/communication.cpp
index 16da4da049..7b6950ca1c 100644
--- a/protocols/Omegle/src/communication.cpp
+++ b/protocols/Omegle/src/communication.cpp
@@ -533,7 +533,7 @@ bool Omegle_client::events()
else if (name == "commonLikes") {
std::tstring likes = TranslateT("You and the Stranger both like: ");
- JSONNode *items = json_as_array(json_at(item, 1));
+ JSONNode *items = json_at(item, 1);
size_t size = json_size(items);
for (size_t i = 0; i < size; i++) {
likes += ptrT(json_as_string(json_at(items, i)));