1
0
mirror of https://github.com/irssi/irssi.git synced 2024-08-04 03:34:18 -04:00

Typobugfix.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2120 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-20 02:48:53 +00:00 committed by cras
parent 275c04a6aa
commit 9cf8d32198

View File

@ -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);
}