aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/signal.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-09-17 02:23:17 +0200
committerKim Alvefur <zash@zash.se>2014-09-17 02:23:17 +0200
commit110fb5576b604fdff69dd7d6cedeec4fee7fe361 (patch)
treecc0d784c48dd70d272897cbf4cc39ceed6c3479e /util-src/signal.c
parentbcab7a928a24ff7da693c6c8370ab18ae19284bd (diff)
downloadprosody-110fb5576b604fdff69dd7d6cedeec4fee7fe361.tar.gz
prosody-110fb5576b604fdff69dd7d6cedeec4fee7fe361.zip
util-src/*.c: Use the more concise lua_setfield
Diffstat (limited to 'util-src/signal.c')
-rw-r--r--util-src/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/signal.c b/util-src/signal.c
index 405689f5..3d0a8a50 100644
--- a/util-src/signal.c
+++ b/util-src/signal.c
@@ -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)
{