diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-20 02:48:53 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-20 02:48:53 +0000 |
commit | 9cf8d32198f31d704ec467786211d930624c5d60 (patch) | |
tree | b5b09dcc7bcbe7f9b3efb10c64cbee6c65c43018 /src/core | |
parent | 275c04a6aadf38e628a26c0a7e1d458469bec88c (diff) | |
download | irssi-9cf8d32198f31d704ec467786211d930624c5d60.zip |
Typobugfix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2120 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/session.c b/src/core/session.c index 9cc9a14c..081d7edf 100644 --- a/src/core/session.c +++ b/src/core/session.c @@ -213,7 +213,7 @@ static void session_restore_server(CONFIG_NODE *node) /* restore channels */ node = config_node_section(node, "channels", -1); - if (node != NULL || node->type != NODE_TYPE_LIST) { + if (node != NULL && node->type == NODE_TYPE_LIST) { for (tmp = node->value; tmp != NULL; tmp = tmp->next) session_restore_channel(server, tmp->data); } |