diff --git a/docs/manual.en.md b/docs/manual.en.md index 94b548f..ebe7e7a 100644 --- a/docs/manual.en.md +++ b/docs/manual.en.md @@ -2451,7 +2451,7 @@ function timer_del(name) Get information about the timer identified by name. ``` -function timer_del(name) +function timer_info(name) ``` Returns table in case of success, nil otherwise. diff --git a/docs/manual.md b/docs/manual.md index 1b69787..36c2995 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -2611,7 +2611,7 @@ function timer_del(name) Получить информацию о таймере. ``` -function timer_del(name) +function timer_info(name) ``` В случае успеха возвращается таблица, в случае неудачи - nil. diff --git a/nfq2/lua.c b/nfq2/lua.c index 09aa593..b3a3109 100644 --- a/nfq2/lua.c +++ b/nfq2/lua.c @@ -3858,7 +3858,7 @@ static int lua_push_timer_info(lua_State *L, const timer_pool *timer) } static int luacall_timer_info(lua_State *L) { - // timer_del(name) + // timer_info(name) lua_check_argc(L,"timer_info",1); LUA_STACK_GUARD_ENTER(L)