diff options
Diffstat (limited to 'src/irc/notifylist/notify-setup.c')
-rw-r--r-- | src/irc/notifylist/notify-setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |