summaryrefslogtreecommitdiff
path: root/src/plugins/javascript/weechat-js.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/javascript/weechat-js.cpp')
-rw-r--r--src/plugins/javascript/weechat-js.cpp2
1 files changed, 1 insertions, 1 deletions
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<Object> obj,
if (!hashtable)
return NULL;
- keys = obj->GetOwnPropertyNames();
+ keys = obj->GetPropertyNames();
for (i = 0; i < keys->Length(); i++)
{
key = keys->Get(i);