mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
util-src/*.c: Use the more concise lua_setfield
This commit is contained in:
parent
c57e98cd7d
commit
4f6f0fe480
4 changed files with 7 additions and 13 deletions
|
@ -391,7 +391,7 @@ int luaopen_util_signal(lua_State *L)
|
|||
/* put the signals inside the library table too,
|
||||
* they are only a reference */
|
||||
lua_pushstring(L, LUA_SIGNAL);
|
||||
lua_createtable(L, 0, 0);
|
||||
lua_newtable(L);
|
||||
|
||||
while (lua_signals[i].name != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue