1
0
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:
Sebastien Helleu
2011-08-16 09:41:02 +02:00
parent a234bc90ad
commit 832d30b665
5 changed files with 126 additions and 102 deletions
+1 -3
View File
@@ -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;