diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-04-10 17:44:37 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-04-10 17:44:37 +0200 |
commit | 8597f14bf6efe06000070c0e90fe729c843e8d7c (patch) | |
tree | cf119528fcae39decb44a179b1d35a8e8b3944ef /src/plugins/irc/irc-server.c | |
parent | 5ca579e065fd0b3e133a12115a46b1c427401f0c (diff) | |
download | weechat-8597f14bf6efe06000070c0e90fe729c843e8d7c.zip |
irc: update short name of server buffer when server is renamed
Diffstat (limited to 'src/plugins/irc/irc-server.c')
-rw-r--r-- | src/plugins/irc/irc-server.c | 1 |
1 files changed, 1 insertions, 0 deletions
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", |