mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 04:16:38 +02:00
ruby: fix function hdata_get_string
This commit is contained in:
@@ -6352,8 +6352,7 @@ weechat_ruby_api_hdata_get_string (VALUE class, VALUE hdata, VALUE property)
|
||||
c_hdata = StringValuePtr (hdata);
|
||||
c_property = StringValuePtr (property);
|
||||
|
||||
result = weechat_hdata_get_var_type_string (API_STR2PTR(c_hdata),
|
||||
c_property);
|
||||
result = weechat_hdata_get_string (API_STR2PTR(c_hdata), c_property);
|
||||
|
||||
API_RETURN_STRING(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user