diff options
Diffstat (limited to 'src/plugins/chartable.c')
-rw-r--r-- | src/plugins/chartable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c index e48d19ea2..b6e42457a 100644 --- a/src/plugins/chartable.c +++ b/src/plugins/chartable.c @@ -594,7 +594,7 @@ rspamd_chartable_process_part (struct rspamd_task *task, */ part->capital_letters += ncap; - cur_score /= (gdouble)part->utf_words->len; + cur_score /= (gdouble)part->nwords; if (cur_score > 2.0) { cur_score = 2.0; |