summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-channel.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-12-08 23:54:07 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-12-08 23:54:07 +0100
commit641de51bdbd449196c0d54102d17641cd4b5d3d7 (patch)
tree820e555781f6cb2d55bd06b5b71ee9ef083436d9 /src/plugins/irc/irc-channel.c
parent3f2155e548c0ebe86a694f69630f41d7503f679c (diff)
downloadweechat-641de51bdbd449196c0d54102d17641cd4b5d3d7.zip
api: allow creation of structure with hdata_update (allowed for hdata "history")
Diffstat (limited to 'src/plugins/irc/irc-channel.c')
-rw-r--r--src/plugins/irc/irc-channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-channel.c b/src/plugins/irc/irc-channel.c
index d47d7c048..3b58896ce 100644
--- a/src/plugins/irc/irc-channel.c
+++ b/src/plugins/irc/irc-channel.c
@@ -895,7 +895,7 @@ irc_channel_hdata_channel_cb (void *data, const char *hdata_name)
(void) data;
hdata = weechat_hdata_new (hdata_name, "prev_channel", "next_channel",
- 0, NULL, NULL);
+ 0, 0, NULL, NULL);
if (hdata)
{
WEECHAT_HDATA_VAR(struct t_irc_channel, type, INTEGER, 0, NULL, NULL);
@@ -940,7 +940,7 @@ irc_channel_hdata_channel_speaking_cb (void *data, const char *hdata_name)
(void) data;
hdata = weechat_hdata_new (hdata_name, "prev_nick", "next_nick",
- 0, NULL, NULL);
+ 0, 0, NULL, NULL);
if (hdata)
{
WEECHAT_HDATA_VAR(struct t_irc_channel_speaking, nick, STRING, 0, NULL, NULL);