From a40c62952aa6bd3982280f7a493d82f2a474502d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 22 Oct 2015 14:08:12 +0000 Subject: Omegle: one more fix git-svn-id: http://svn.miranda-ng.org/main/trunk@15595 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Omegle/src/communication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Omegle') 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))); -- cgit v1.2.3