diff options
author | Timo Sirainen <cras@irssi.org> | 2001-01-28 10:19:53 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-01-28 10:19:53 +0000 |
commit | b4a56832cb2c075baf371d4ddcf755dbe0464ccc (patch) | |
tree | 6d754f40fd6dcdeb1bdb43fcd3268073a4023beb /src/core/servers-setup.c | |
parent | 669c2c18d8a906ea5863cf2dc03878e774902c3f (diff) | |
download | irssi-b4a56832cb2c075baf371d4ddcf755dbe0464ccc.zip |
backwards compatibility fix: when changing ircnet -> chatnet, the
chatnet name in memory was corrupted
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1159 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/servers-setup.c')
-rw-r--r-- | src/core/servers-setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c index 7545762d..8bce2f86 100644 --- a/src/core/servers-setup.c +++ b/src/core/servers-setup.c @@ -319,6 +319,7 @@ static SERVER_SETUP_REC *server_setup_read(CONFIG_NODE *node) if (chatnet != NULL) { iconfig_node_set_str(node, "chatnet", chatnet); iconfig_node_set_str(node, "ircnet", NULL); + chatnet = config_node_get_str(node, "chatnet", NULL); } } signal_emit("server setup read", 3, &rec, node, |