diff options
Diffstat (limited to 'src/plugins/irc/irc-notify.c')
-rw-r--r-- | src/plugins/irc/irc-notify.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/plugins/irc/irc-notify.c b/src/plugins/irc/irc-notify.c index 442add9d4..546e707b4 100644 --- a/src/plugins/irc/irc-notify.c +++ b/src/plugins/irc/irc-notify.c @@ -963,17 +963,18 @@ irc_notify_hdata_notify_cb (void *data, const char *hdata_name) /* make C compiler happy */ (void) data; - hdata = weechat_hdata_new (hdata_name, "prev_notify", "next_notify"); + hdata = weechat_hdata_new (hdata_name, "prev_notify", "next_notify", + 0, NULL, NULL); if (hdata) { - WEECHAT_HDATA_VAR(struct t_irc_notify, server, POINTER, NULL, "irc_server"); - WEECHAT_HDATA_VAR(struct t_irc_notify, nick, STRING, NULL, NULL); - WEECHAT_HDATA_VAR(struct t_irc_notify, check_away, INTEGER, NULL, NULL); - WEECHAT_HDATA_VAR(struct t_irc_notify, is_on_server, INTEGER, NULL, NULL); - WEECHAT_HDATA_VAR(struct t_irc_notify, away_message, STRING, NULL, NULL); - WEECHAT_HDATA_VAR(struct t_irc_notify, ison_received, INTEGER, NULL, NULL); - WEECHAT_HDATA_VAR(struct t_irc_notify, prev_notify, POINTER, NULL, hdata_name); - WEECHAT_HDATA_VAR(struct t_irc_notify, next_notify, POINTER, NULL, hdata_name); + WEECHAT_HDATA_VAR(struct t_irc_notify, server, POINTER, 0, NULL, "irc_server"); + WEECHAT_HDATA_VAR(struct t_irc_notify, nick, STRING, 0, NULL, NULL); + WEECHAT_HDATA_VAR(struct t_irc_notify, check_away, INTEGER, 0, NULL, NULL); + WEECHAT_HDATA_VAR(struct t_irc_notify, is_on_server, INTEGER, 0, NULL, NULL); + WEECHAT_HDATA_VAR(struct t_irc_notify, away_message, STRING, 0, NULL, NULL); + WEECHAT_HDATA_VAR(struct t_irc_notify, ison_received, INTEGER, 0, NULL, NULL); + WEECHAT_HDATA_VAR(struct t_irc_notify, prev_notify, POINTER, 0, NULL, hdata_name); + WEECHAT_HDATA_VAR(struct t_irc_notify, next_notify, POINTER, 0, NULL, hdata_name); } return hdata; } |