summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index bf887e301..32b61dcf8 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -97,7 +97,7 @@ static inline int lua_absindex(lua_State *L, int i)
extern const luaL_reg null_reg[];
-#define RSPAMD_LUA_API_VERSION 12
+#define RSPAMD_LUA_CFG_STATE(cfg) ((lua_State *) ((cfg)->lua_state))
/**
* Lua IP address structure
*/