This commit is contained in:
Axel Kittenberger 2010-10-22 10:38:09 +00:00
parent e6d55c4784
commit 7b0adbef69
1 changed files with 7 additions and 5 deletions

View File

@ -929,11 +929,13 @@ main(int argc, char *argv[])
lua_setglobal(L, "lysncd");
/* register event types */
lua_pushinteger(L, ATTRIB); lua_setglobal(L, "ATTRIB");
lua_pushinteger(L, MODIFY); lua_setglobal(L, "MODIFY");
lua_pushinteger(L, CREATE); lua_setglobal(L, "CREATE");
lua_pushinteger(L, DELETE); lua_setglobal(L, "DELETE");
lua_pushinteger(L, MOVE); lua_setglobal(L, "MOVE");
lua_pushinteger(L, ATTRIB); lua_setglobal(L, "ATTRIB");
lua_pushinteger(L, MODIFY); lua_setglobal(L, "MODIFY");
lua_pushinteger(L, CREATE); lua_setglobal(L, "CREATE");
lua_pushinteger(L, DELETE); lua_setglobal(L, "DELETE");
lua_pushinteger(L, MOVE); lua_setglobal(L, "MOVE");
lua_pushinteger(L, MOVEFROM); lua_setglobal(L, "MOVEFROM");
lua_pushinteger(L, MOVETO); lua_setglobal(L, "MOVETO");
/* register log levels */
lua_pushinteger(L, DEBUG); lua_setglobal(L, "DEBUG");