From 0ce3f8243eb564063c66a1b32169109af17e4081 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 2 Feb 2002 17:37:44 +0000 Subject: Comments are now allowed everywhere in config files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/notifylist/notify-setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/irc/notifylist') diff --git a/src/irc/notifylist/notify-setup.c b/src/irc/notifylist/notify-setup.c index e2a3195a..72cc08fb 100644 --- a/src/irc/notifylist/notify-setup.c +++ b/src/irc/notifylist/notify-setup.c @@ -65,7 +65,8 @@ void notifylist_read_config(void) node = iconfig_node_traverse("notifies", FALSE); if (node == NULL) return; - for (tmp = node->value; tmp != NULL; tmp = tmp->next) { + tmp = config_node_first(node->value); + for (; tmp != NULL; tmp = config_node_next(tmp)) { node = tmp->data; if (node->type != NODE_TYPE_BLOCK) -- cgit v1.2.3