mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Merge pull request #405 from LemonBoy/serialize-channel-name
Serialize the 'name' attribute of the CHANNEL_REC.
This commit is contained in:
commit
18287781f6
1 changed files with 2 additions and 2 deletions
|
|
@ -168,12 +168,12 @@ static void sig_layout_save_item(WINDOW_REC *window, WI_ITEM_REC *item,
|
|||
chat_protocol_find_id(item->chat_type);
|
||||
if (proto != NULL)
|
||||
iconfig_node_set_str(subnode, "chat_type", proto->name);
|
||||
iconfig_node_set_str(subnode, "name", item->visible_name);
|
||||
iconfig_node_set_str(subnode, "name", item->name);
|
||||
|
||||
if (item->server != NULL) {
|
||||
iconfig_node_set_str(subnode, "tag", item->server->tag);
|
||||
if (IS_CHANNEL(item)) {
|
||||
rec = window_bind_add(window, item->server->tag, item->visible_name);
|
||||
rec = window_bind_add(window, item->server->tag, item->name);
|
||||
if (rec != NULL)
|
||||
rec->sticky = TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue