From 8136aa749a76e4fbb5b7e3cc34c878733647b8e9 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 17 Mar 2023 18:03:07 +0100 Subject: util: Add compat for prosody module name change to C sources --- util-src/signal.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util-src/signal.c') diff --git a/util-src/signal.c b/util-src/signal.c index b5ba16a9..a55b6f87 100644 --- a/util-src/signal.c +++ b/util-src/signal.c @@ -377,7 +377,7 @@ static const struct luaL_Reg lsignal_lib[] = { {NULL, NULL} }; -int luaopen_util_signal(lua_State *L) { +int luaopen_prosody_util_signal(lua_State *L) { luaL_checkversion(L); int i = 0; @@ -408,3 +408,6 @@ int luaopen_util_signal(lua_State *L) { return 1; } +int luaopen_util_signal(lua_State *L) { + return luaopen_prosody_util_signal(L); +} -- cgit v1.2.3