diff --git a/configure.ac b/configure.ac index 142a83b8..933dd7fc 100644 --- a/configure.ac +++ b/configure.ac @@ -120,8 +120,8 @@ elif test "x$enable_lua_plugins" != xno; then #AX_PROG_LUA #AX_LUA_HEADERS #AX_LUA_LIBS - LUA_INCLUDE="-I/usr/include/lua5.1" - LUA_LIB="-llua5.1" + LUA_INCLUDE="-I/usr/include/lua5.2" + LUA_LIB="-llua5.2" AM_CONDITIONAL([BUILD_LUA_API], [true]) AC_DEFINE([HAVE_LUA], [1], [Lua support]) else diff --git a/src/plugins/lua_api.c b/src/plugins/lua_api.c index 14d46453..4ce0d699 100644 --- a/src/plugins/lua_api.c +++ b/src/plugins/lua_api.c @@ -73,7 +73,6 @@ static int lua_api_register_timed(lua_State *L) { int interval_seconds = lua_tonumber(L, -1); - cons_show("interval seconds = %d", interval_seconds); lua_pop(L, 1); int *p_callback_ref = malloc(sizeof(int)); *p_callback_ref = luaL_ref(L, LUA_REGISTRYINDEX);