summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/ratelimit.c2
1 files changed, 1 insertions, 1 deletions
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;