" sync - run synchronization of statfiles" CRLF
" counters - show rspamd counters" CRLF
" uptime - rspamd uptime" CRLF
- " weights <statfile> <size> - weight of message in all statfiles");
+ " weights <statfile> <size> - weight of message in all statfiles" CRLF);
if (! rspamd_dispatcher_write (session->dispatcher, out_buf, r, FALSE, FALSE)) {
return FALSE;
}
if (tmp_cfg) {
bzero (tmp_cfg, sizeof (struct config_file));
tmp_cfg->cfg_pool = memory_pool_new (memory_pool_get_size ());
+ tmp_cfg->modules_num = MODULES_NUM;
init_defaults (tmp_cfg);
cfg_file = memory_pool_strdup (tmp_cfg->cfg_pool, rspamd->cfg->cfg_name);
/* Save some variables */