summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_trie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_trie.c')
-rw-r--r--src/lua/lua_trie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_trie.c b/src/lua/lua_trie.c
index 362564ce8..16a8ace0c 100644
--- a/src/lua/lua_trie.c
+++ b/src/lua/lua_trie.c
@@ -156,8 +156,8 @@ lua_trie_callback (struct rspamd_multipattern *mp,
/* Function */
lua_pushvalue (L, 3);
- lua_pushnumber (L, strnum + 1);
- lua_pushnumber (L, textpos);
+ lua_pushinteger (L, strnum + 1);
+ lua_pushinteger (L, textpos);
if (lua_pcall (L, 2, 1, 0) != 0) {
msg_info ("call to trie callback has failed: %s",