diff options
Diffstat (limited to 'src/lua/lua_url.c')
-rw-r--r-- | src/lua/lua_url.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_url.c b/src/lua/lua_url.c index 24c3f9a70..af49624b9 100644 --- a/src/lua/lua_url.c +++ b/src/lua/lua_url.c @@ -84,7 +84,7 @@ static const struct luaL_reg urllib_f[] = { static struct rspamd_lua_url * lua_check_url (lua_State * L, gint pos) { - void *ud = luaL_checkudata (L, pos, "rspamd{url}"); + void *ud = rspamd_lua_check_udata (L, pos, "rspamd{url}"); luaL_argcheck (L, ud != NULL, pos, "'url' expected"); return ud ? ((struct rspamd_lua_url *)ud) : NULL; } |