X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/8126e987f2e67c59e493d0fc4096eb80e36c8b24..78546f2b0f59b5c8fede1ce5535972716eb17041:/lua/lua.h diff --git a/lua/lua.h b/lua/lua.h index 43f1fbbb..1fd5b449 100644 --- a/lua/lua.h +++ b/lua/lua.h @@ -23,6 +23,7 @@ #include "lualocal.h" #include "luasocket.h" +#include "luascheduler.h" #define luamalloc(x) nsmalloc(POOL_LUA, x) #define luarealloc(x, y) nsrealloc(POOL_LUA, x, y) @@ -30,8 +31,8 @@ /*** defines ************************************/ -#define LUA_BOTVERSION "1.90" -#define LUA_CHANFIXBOT "D" +#define LUA_BOTVERSION "1.95" +#define LUA_CHANFIXBOT "N2" #define LUA_OPERCHAN "#twilightzone" #ifndef LUA_PUKECHAN @@ -64,6 +65,7 @@ typedef struct lua_list { struct lua_list *prev; lua_localnick *nicks; lua_socket *sockets; + lua_scheduler *schedulers; } lua_list; #define LUA_STARTLOOP(l) { lua_list *ll; for(ll=lua_head;ll;ll=ll->next) { l = ll->l