diff options
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_bayes_learn.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_bayes_learn.lua b/lualib/lua_bayes_learn.lua index 70cbb96c0..7df52a2ef 100644 --- a/lualib/lua_bayes_learn.lua +++ b/lualib/lua_bayes_learn.lua @@ -18,7 +18,7 @@ limitations under the License. local exports = {} -exports.autolearn = function(task, is_spam, is_unlearn) +exports.can_learn = function(task, is_spam, is_unlearn) local learn_type = task:get_request_header('Learn-Type') if not (learn_type and tostring(learn_type) == 'bulk') then |