summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-notify.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-07-20 18:12:07 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-07-20 18:12:07 +0200
commiteab011073224b13ada61f80f3731e8dd459b7bfa (patch)
treebc05f9c4bd577a2c8ae7b8917098a4f6c54c8310 /src/plugins/irc/irc-notify.c
parent658013a1e42967e498629367ac7d2d39ba7eec51 (diff)
downloadweechat-eab011073224b13ada61f80f3731e8dd459b7bfa.zip
core: add support of arrays in hdata variables
Diffstat (limited to 'src/plugins/irc/irc-notify.c')
-rw-r--r--src/plugins/irc/irc-notify.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/irc/irc-notify.c b/src/plugins/irc/irc-notify.c
index 30c7f77d1..442add9d4 100644
--- a/src/plugins/irc/irc-notify.c
+++ b/src/plugins/irc/irc-notify.c
@@ -966,14 +966,14 @@ irc_notify_hdata_notify_cb (void *data, const char *hdata_name)
hdata = weechat_hdata_new (hdata_name, "prev_notify", "next_notify");
if (hdata)
{
- WEECHAT_HDATA_VAR(struct t_irc_notify, server, POINTER, "irc_server");
- WEECHAT_HDATA_VAR(struct t_irc_notify, nick, STRING, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_notify, check_away, INTEGER, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_notify, is_on_server, INTEGER, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_notify, away_message, STRING, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_notify, ison_received, INTEGER, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_notify, prev_notify, POINTER, hdata_name);
- WEECHAT_HDATA_VAR(struct t_irc_notify, next_notify, POINTER, hdata_name);
+ 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);
}
return hdata;
}