]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Misprint
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 3 Nov 2017 19:13:52 +0000 (19:13 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 3 Nov 2017 19:13:52 +0000 (19:13 +0000)
lualib/meta_functions.lua

index 1c6d2cc2bcda8938d0909dc77760dfd4fb98ec48..96404192d72a117b0df3210c37c0f5c6cc11951f 100644 (file)
@@ -258,7 +258,7 @@ local function meta_words_function(task)
 
   local divisor = 1.0
   if #tp > 0 then
-    divisor = tp
+    divisor = #tp
   end
 
   for _,wr in ipairs(wres) do