diff options
Diffstat (limited to 'src/lua/lua_mempool.c')
-rw-r--r-- | src/lua/lua_mempool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_mempool.c b/src/lua/lua_mempool.c index 00c2c24e0..15d0e6897 100644 --- a/src/lua/lua_mempool.c +++ b/src/lua/lua_mempool.c @@ -132,7 +132,7 @@ struct lua_mempool_udata { struct memory_pool_s * rspamd_lua_check_mempool (lua_State * L, gint pos) { - void *ud = luaL_checkudata (L, pos, "rspamd{mempool}"); + void *ud = rspamd_lua_check_udata (L, pos, "rspamd{mempool}"); luaL_argcheck (L, ud != NULL, pos, "'mempool' expected"); return ud ? *((struct memory_pool_s **)ud) : NULL; } |