summaryrefslogtreecommitdiff
path: root/src/core/servers-setup.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-09-26 21:39:33 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-09-26 21:39:33 +0000
commit64e0b8d96b0bc54f69b751d35d5308887b8f4670 (patch)
tree35d00337a0f39c94b34edd490cc4877a6d37925e /src/core/servers-setup.c
parentd564fd2b3222dffca28d28de76bcb55e862ca8f8 (diff)
downloadirssi-64e0b8d96b0bc54f69b751d35d5308887b8f4670.zip
backwards compatibility for s/ircnet/chanet/ change.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@673 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/servers-setup.c')
-rw-r--r--src/core/servers-setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c
index 980c7f2e..3faf76b6 100644
--- a/src/core/servers-setup.c
+++ b/src/core/servers-setup.c
@@ -313,6 +313,8 @@ 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 in time... */
+ chatnet = config_node_get_str(node, "ircnet", NULL);
signal_emit("server setup read", 3, &rec, node,
chatnet == NULL ? NULL : chatnet_find(chatnet));
if (rec == NULL) {