diff options
Diffstat (limited to 'src/lua/lua_session.c')
-rw-r--r-- | src/lua/lua_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_session.c b/src/lua/lua_session.c index 3fa636a5b..bbbd6695e 100644 --- a/src/lua/lua_session.c +++ b/src/lua/lua_session.c @@ -156,7 +156,7 @@ lua_session_create (lua_State *L) return 1; } - mempool = rspamd_lua_check_mempool (L); + mempool = rspamd_lua_check_mempool (L, 1); if (mempool == NULL) { msg_err ("invalid mempool argument to rspamd_session.create"); lua_pushnil (L); |