From 048a6b9573aec760129bb1332610b323c7cd8cd7 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 15 Oct 2012 18:11:51 +0200 Subject: fix: we need to use loadConf to access global settings Hint: globals need to be re-done... --- runtime/ratelimit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/ratelimit.c b/runtime/ratelimit.c index 22059ac8..ccfcfdd2 100644 --- a/runtime/ratelimit.c +++ b/runtime/ratelimit.c @@ -282,7 +282,7 @@ ratelimitNew(ratelimit_t **ppThis, char *modname, char *dynname) namebuf[sizeof(namebuf)-1] = '\0'; /* to be on safe side */ pThis->name = strdup(namebuf); } - pThis->bReduceRepeatMsgs = runConf->globals.bReduceRepeatMsgs; + pThis->bReduceRepeatMsgs = loadConf->globals.bReduceRepeatMsgs; *ppThis = pThis; finalize_it: RETiRet; -- cgit v1.2.3