1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

Fixed display bug with nicklist and option weechat.look.nicklist

This commit is contained in:
Sebastien Helleu
2008-04-20 18:33:38 +02:00
parent 198e0e2375
commit 8965bd484c
2 changed files with 6 additions and 8 deletions
+2 -1
View File
@@ -67,7 +67,8 @@ irc_channel_new (struct t_irc_server *server, int channel_type,
if (channel_type == IRC_CHANNEL_TYPE_CHANNEL)
{
weechat_buffer_set (new_buffer, "nick", server->nick);
weechat_buffer_set (new_buffer, "nicklist", "1");
if (weechat_config_integer (weechat_config_get ("weechat.look.nicklist")))
weechat_buffer_set (new_buffer, "nicklist", "1");
weechat_buffer_set (new_buffer, "nicklist_display_groups", "0");
weechat_nicklist_add_group (new_buffer, NULL, IRC_NICK_GROUP_OP,
"nicklist_group", 1);