]> source.dussan.org Git - rspamd.git/commitdiff
* Fix error in regexp module configuration
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Mon, 27 Apr 2009 09:53:00 +0000 (13:53 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Mon, 27 Apr 2009 09:53:00 +0000 (13:53 +0400)
src/plugins/regexp.c

index e1f751ef9d9e1ef76d5b47971be609f787d6ef1a..622c06c835af1961e5c158ea6abbd5e5f68dea10 100644 (file)
@@ -165,7 +165,7 @@ regexp_module_config (struct config_file *cfg)
                g_free (value);
        }
        else {
-               regexp_module_ctx->metric = DEFAULT_STATFILE_PREFIX;
+               regexp_module_ctx->statfile_prefix = DEFAULT_STATFILE_PREFIX;
        }
 
        cur_module_opt = g_hash_table_lookup (cfg->modules_opts, "regexp");