diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-01-08 02:52:44 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-01-08 02:52:44 +0100 |
commit | e3ecfb708fa6f868fd15a34ac74cad17082c9e7a (patch) | |
tree | 02af333ef9253d1798fa0ded145b430d8ac42f30 /config.c | |
parent | 3f0b80bb129aedd41ee09dccf45c532caf28a854 (diff) |
Implemented monolog counters.
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -31,6 +31,10 @@ int cfg_init() { ircstats_config.threads = 1; } + if(!config_lookup_int(&config, "monolog_min", &ircstats_config.monolog_min)) { + ircstats_config.monolog_min = 5; + } + config_setting_t *regexes_setting = config_lookup(&config, "regexes"); if(!config_setting_is_aggregate(regexes_setting)) { fprintf(stderr, "Setting \"regexes\" must be an aggregate type.\n"); |