X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/0bb2fe5ed7ba164d48275d6656c1e2ec6cb6f895..cb5aa4cdd6af4114b18db464f022ef99a44304d7:/lua/lua.h diff --git a/lua/lua.h b/lua/lua.h index a2fe4696..ac33db31 100644 --- a/lua/lua.h +++ b/lua/lua.h @@ -17,13 +17,18 @@ #include #include "../lib/sstring.h" +#include "../core/nsmalloc.h" #include "lualocal.h" #include "luasocket.h" +#define luamalloc(x) nsmalloc(POOL_LUA, x) +#define luarealloc(x, y) nsrealloc(POOL_LUA, x, y) +#define luafree(x) nsfree(POOL_LUA, x) + /*** defines ************************************/ -#define LUA_BOTVERSION "1.85" +#define LUA_BOTVERSION "1.87" #define LUA_CHANFIXBOT "D" #define LUA_OPERCHAN "#twilightzone"