diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/plugins/irc/irc-server.c | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,7 @@ WeeChat ChangeLog ================= Sébastien Helleu <flashcode@flashtux.org> -v0.3.5-dev, 2011-03-26 +v0.3.5-dev, 2011-04-10 Version 0.3.5 (under dev!) @@ -42,6 +42,7 @@ Version 0.3.5 (under dev!) * aspell: fix spellers used after switch of window (bug #32811) * irc: replace options irc.color.nick_prefix_{op|halfop|voice|user} by a single option irc.color.nick_prefixes (task #10888) +* irc: update short name of server buffer when server is renamed * irc: fix local variable "away" on server buffer (set/delete it each time away is set or removed on server) * irc: add new options irc.look.buffer_switch_autojoin and diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c index 7ec3ebaab..94a5caac0 100644 --- a/src/plugins/irc/irc-server.c +++ b/src/plugins/irc/irc-server.c @@ -1289,6 +1289,7 @@ irc_server_rename (struct t_irc_server *server, const char *new_server_name) { buffer_name = irc_buffer_build_name (server->name, NULL); weechat_buffer_set (server->buffer, "name", buffer_name); + weechat_buffer_set (server->buffer, "short_name", server->name); weechat_buffer_set (server->buffer, "localvar_set_server", server->name); weechat_buffer_set (server->buffer, "localvar_set_channel", |