]> jfr.im git - irc/quakenet/newserv.git/blobdiff - lua/lua.h
Merge chanserv-live into default.
[irc/quakenet/newserv.git] / lua / lua.h
index 8d6cc68cb13b3738aced73ad6dc2f255f47305c5..1fd5b449626210c1a57bfc497c824f4914e9ef2a 100644 (file)
--- 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.91"
-#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