summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-nick.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-nick.c
parent658013a1e42967e498629367ac7d2d39ba7eec51 (diff)
downloadweechat-eab011073224b13ada61f80f3731e8dd459b7bfa.zip
core: add support of arrays in hdata variables
Diffstat (limited to 'src/plugins/irc/irc-nick.c')
-rw-r--r--src/plugins/irc/irc-nick.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/irc/irc-nick.c b/src/plugins/irc/irc-nick.c
index 249f98040..ab33b6f1d 100644
--- a/src/plugins/irc/irc-nick.c
+++ b/src/plugins/irc/irc-nick.c
@@ -1010,14 +1010,14 @@ irc_nick_hdata_nick_cb (void *data, const char *hdata_name)
hdata = weechat_hdata_new (hdata_name, "prev_nick", "next_nick");
if (hdata)
{
- WEECHAT_HDATA_VAR(struct t_irc_nick, name, STRING, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_nick, host, STRING, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_nick, prefixes, STRING, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_nick, prefix, STRING, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_nick, away, INTEGER, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_nick, color, STRING, NULL);
- WEECHAT_HDATA_VAR(struct t_irc_nick, prev_nick, POINTER, hdata_name);
- WEECHAT_HDATA_VAR(struct t_irc_nick, next_nick, POINTER, hdata_name);
+ WEECHAT_HDATA_VAR(struct t_irc_nick, name, STRING, NULL, NULL);
+ WEECHAT_HDATA_VAR(struct t_irc_nick, host, STRING, NULL, NULL);
+ WEECHAT_HDATA_VAR(struct t_irc_nick, prefixes, STRING, NULL, NULL);
+ WEECHAT_HDATA_VAR(struct t_irc_nick, prefix, STRING, NULL, NULL);
+ WEECHAT_HDATA_VAR(struct t_irc_nick, away, INTEGER, NULL, NULL);
+ WEECHAT_HDATA_VAR(struct t_irc_nick, color, STRING, NULL, NULL);
+ WEECHAT_HDATA_VAR(struct t_irc_nick, prev_nick, POINTER, NULL, hdata_name);
+ WEECHAT_HDATA_VAR(struct t_irc_nick, next_nick, POINTER, NULL, hdata_name);
}
return hdata;
}