From 8597f14bf6efe06000070c0e90fe729c843e8d7c Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 10 Apr 2011 17:44:37 +0200 Subject: irc: update short name of server buffer when server is renamed --- src/plugins/irc/irc-server.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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", -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0