summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-bar-item.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-08-16 09:41:02 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-08-16 09:41:02 +0200
commit832d30b665604d856cd6abab431cc785ed0e7dd6 (patch)
tree0be5a9fc0f5bd9312212b5071f4a2910f343b4fb /src/plugins/irc/irc-bar-item.c
parenta234bc90ad2384f1efb067bbf7db801f5233c365 (diff)
downloadweechat-832d30b665604d856cd6abab431cc785ed0e7dd6.zip
core: add local variables of buffer in focus hashtable, remove irc_server/irc_channel from focus hashtable for nicklist
Diffstat (limited to 'src/plugins/irc/irc-bar-item.c')
-rw-r--r--src/plugins/irc/irc-bar-item.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-bar-item.c b/src/plugins/irc/irc-bar-item.c
index c354dc9d0..99a190cc1 100644
--- a/src/plugins/irc/irc-bar-item.c
+++ b/src/plugins/irc/irc-bar-item.c
@@ -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;