From b837e65b21a6f4d9cb45bdab5cc6eff3193c663f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 25 Oct 2009 13:55:44 +0100 Subject: use new filter_reload() in child_main_loop() --- src/child.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/child.c b/src/child.c index 2e455c4..a55f855 100644 --- a/src/child.c +++ b/src/child.c @@ -417,12 +417,7 @@ void child_main_loop (void) truncate_log_file (); #ifdef FILTER_ENABLE - if (config.filter) { - log_message (LOG_NOTICE, - "Re-reading filter file."); - filter_destroy (); - filter_init (); - } + filter_reload (); #endif /* FILTER_ENABLE */ received_sighup = FALSE; -- cgit v1.2.3