aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_config.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-01-25 21:31:52 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-01-25 21:31:52 +0300
commita28536ff4d1bc30392e185f48e61d3cf858ef7b2 (patch)
tree1543ef4c0c6f6790859132d8d316b3b83f2d01f8 /src/lua/lua_config.c
parent76b69f300d8372969b6143e3e269376229d03edf (diff)
downloadrspamd-a28536ff4d1bc30392e185f48e61d3cf858ef7b2.tar.gz
rspamd-a28536ff4d1bc30392e185f48e61d3cf858ef7b2.zip
Fixes in classifying for small messages.
Diffstat (limited to 'src/lua/lua_config.c')
-rw-r--r--src/lua/lua_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c
index b77c97bfc..3b81ce64e 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -91,7 +91,7 @@ LUA_FUNCTION_DEF (trie, search_task);
static const struct luaL_reg trielib_m[] = {
LUA_INTERFACE_DEF (trie, create),
LUA_INTERFACE_DEF (trie, add_pattern),
- LUA_INTERFACE_DEF (trie, search_task),
+ LUA_INTERFACE_DEF (trie, search_text),
LUA_INTERFACE_DEF (trie, search_task),
{"__tostring", lua_class_tostring},
{NULL, NULL}