mirror of
https://github.com/rspamd/rspamd.git
synced 2024-09-09 22:25:58 +02:00
Use portable macro to get global variable.
This commit is contained in:
parent
ac69ad95af
commit
dabf6b6e48
@ -35,7 +35,7 @@ traceback (lua_State *L)
|
||||
return 1;
|
||||
}
|
||||
|
||||
lua_getfield (L, LUA_GLOBALSINDEX, "debug");
|
||||
lua_getglobal (L, "debug");
|
||||
|
||||
if (!lua_istable(L, -1)) {
|
||||
lua_pop(L, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user