summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-channel.c')
-rw-r--r--src/plugins/irc/irc-channel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-channel.c b/src/plugins/irc/irc-channel.c
index fb9a08c5c..81d119d15 100644
--- a/src/plugins/irc/irc-channel.c
+++ b/src/plugins/irc/irc-channel.c
@@ -33,6 +33,7 @@
#include "irc-dcc.h"
#include "irc-nick.h"
#include "irc-server.h"
+#include "irc-input.h"
/*
@@ -57,7 +58,8 @@ irc_channel_new (struct t_irc_server *server, int channel_type,
}
/* create buffer for channel */
- new_buffer = weechat_buffer_new (server->name, channel_name, NULL);
+ new_buffer = weechat_buffer_new (server->name, channel_name,
+ &irc_input_data);
if (!new_buffer)
{
free (new_channel);