mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 15:12:11 +02:00
put back ircnet -> chatnet backwards compatibility, this time modify
the config file to use chatnet so after .98 we could remove this git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1016 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
db2c620951
commit
99b29df17c
2 changed files with 14 additions and 0 deletions
|
|
@ -314,6 +314,13 @@ static SERVER_SETUP_REC *server_setup_read(CONFIG_NODE *node)
|
|||
|
||||
rec = NULL;
|
||||
chatnet = config_node_get_str(node, "chatnet", NULL);
|
||||
if (chatnet == NULL) /* FIXME: remove this after .98... */ {
|
||||
chatnet = config_node_get_str(node, "ircnet", NULL);
|
||||
if (chatnet != NULL) {
|
||||
iconfig_node_set_str(node, "chatnet", chatnet);
|
||||
iconfig_node_set_str(node, "ircnet", NULL);
|
||||
}
|
||||
}
|
||||
signal_emit("server setup read", 3, &rec, node,
|
||||
chatnet == NULL ? NULL : chatnet_find(chatnet));
|
||||
if (rec == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue