mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 14:26:39 +02:00
core: add local variables of buffer in focus hashtable, remove irc_server/irc_channel from focus hashtable for nicklist
This commit is contained in:
@@ -530,11 +530,9 @@ irc_bar_item_focus_buffer_nicklist (void *data,
|
||||
if (ptr_nick && ptr_nick->host)
|
||||
{
|
||||
weechat_hashtable_set (info, "irc_host", ptr_nick->host);
|
||||
return info;
|
||||
}
|
||||
}
|
||||
weechat_hashtable_set (info, "irc_server", ptr_server->name);
|
||||
weechat_hashtable_set (info, "irc_channel", ptr_channel->name);
|
||||
return info;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user