diff options
Diffstat (limited to 'src/irc/irc-recv.c')
-rw-r--r-- | src/irc/irc-recv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index 31e66b738..db7cd291a 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -158,7 +158,7 @@ irc_cmd_recv_join (t_irc_server *server, char *host, char *arguments) ptr_channel = channel_search (server, arguments); if (!ptr_channel) { - ptr_channel = channel_new (server, CHAT_CHANNEL, arguments); + ptr_channel = channel_new (server, CHAT_CHANNEL, arguments, 1); if (!ptr_channel) { gui_printf (server->window, @@ -894,7 +894,7 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *arguments) ptr_channel = channel_search (server, host); if (!ptr_channel) { - ptr_channel = channel_new (server, CHAT_PRIVATE, host); + ptr_channel = channel_new (server, CHAT_PRIVATE, host, 0); if (!ptr_channel) { gui_printf (server->window, |