#include "lua.h"
-MODULE_VERSION(LUA_FULLVERSION);
+MODULE_VERSION(LUA_SMALLVERSION);
#ifdef LUA_DEBUGSOCKET
Error("lua", ERR_ERROR, "Error pcalling: %s.", file);
lua_close(l);
freesstring(n->name);
+
+ if(lua_head == n)
+ lua_head = NULL;
+
+ lua_tail = n->prev;
+ if(lua_tail)
+ lua_tail->next = NULL;
+
luafree(n);
return NULL;
}