From a98c83571664d21ebad093f7c3859349c193f135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 8 Mar 2015 10:56:58 +0100 Subject: javascript: fix compilation with old V8 lib --- src/plugins/javascript/weechat-js.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/javascript/weechat-js.cpp b/src/plugins/javascript/weechat-js.cpp index 0ca73d8a5..c1df7bea6 100644 --- a/src/plugins/javascript/weechat-js.cpp +++ b/src/plugins/javascript/weechat-js.cpp @@ -132,7 +132,7 @@ weechat_js_object_to_hashtable (Handle obj, if (!hashtable) return NULL; - keys = obj->GetOwnPropertyNames(); + keys = obj->GetPropertyNames(); for (i = 0; i < keys->Length(); i++) { key = keys->Get(i); -- cgit v1.2.3