mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
api: allow creation of structure with hdata_update (allowed for hdata "history")
This commit is contained in:
@@ -641,7 +641,7 @@ plugin_api_infolist_get_internal (void *data, const char *infolist_name,
|
||||
if (ptr_infolist)
|
||||
{
|
||||
for (ptr_history = (pointer) ?
|
||||
((struct t_gui_buffer *)pointer)->history : history_global;
|
||||
((struct t_gui_buffer *)pointer)->history : gui_history;
|
||||
ptr_history; ptr_history = ptr_history->next_history)
|
||||
{
|
||||
if (!gui_history_add_to_infolist (ptr_infolist, ptr_history))
|
||||
|
||||
Reference in New Issue
Block a user