1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 02:03:13 +02:00

api: allow creation of structure with hdata_update (allowed for hdata "history")

This commit is contained in:
Sebastien Helleu
2012-12-08 23:54:07 +01:00
parent 3f2155e548
commit 641de51bdb
39 changed files with 213 additions and 118 deletions
+1 -1
View File
@@ -964,7 +964,7 @@ irc_notify_hdata_notify_cb (void *data, const char *hdata_name)
(void) data;
hdata = weechat_hdata_new (hdata_name, "prev_notify", "next_notify",
0, NULL, NULL);
0, 0, NULL, NULL);
if (hdata)
{
WEECHAT_HDATA_VAR(struct t_irc_notify, server, POINTER, 0, NULL, "irc_server");