1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

irc: fix refresh of buffer name in bar items after join/part/kick/kill (closes #86)

This commit is contained in:
Sébastien Helleu
2014-05-21 20:46:22 +02:00
parent 8e1d5e567e
commit c8103f14d2
2 changed files with 16 additions and 0 deletions
+2
View File
@@ -105,6 +105,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* alias: change default command for alias /beep to "/print -beep"
* exec: add exec plugin: new command /exec and file exec.conf
* guile: fix module used after unload of a script
* irc: fix refresh of buffer name in bar items after join/part/kick/kill
(closes #86)
* irc: display message 936 (censored word) on channel instead of server buffer
* irc: add bar item "irc_nick_modes" (closes #71)
* irc: make reason optional in command /kill
+14
View File
@@ -695,6 +695,12 @@ IRC_PROTOCOL_CALLBACK(join)
irc_channel_display_nick_back_in_pv (server, ptr_nick, nick);
}
if (local_join)
{
weechat_bar_item_update ("buffer_name");
weechat_bar_item_update ("buffer_short_name");
}
return WEECHAT_RC_OK;
}
@@ -802,6 +808,9 @@ IRC_PROTOCOL_CALLBACK(kick)
ptr_channel);
}
}
weechat_bar_item_update ("buffer_name");
weechat_bar_item_update ("buffer_short_name");
}
else
{
@@ -883,6 +892,9 @@ IRC_PROTOCOL_CALLBACK(kill)
* more
*/
irc_nick_free_all (server, ptr_channel);
weechat_bar_item_update ("buffer_name");
weechat_bar_item_update ("buffer_short_name");
}
else
{
@@ -1565,6 +1577,8 @@ IRC_PROTOCOL_CALLBACK(part)
else
ptr_channel->part = 1;
}
weechat_bar_item_update ("buffer_name");
weechat_bar_item_update ("buffer_short_name");
}
else
{