Software /
code /
prosody
Diff
util-src/crypto.c @ 12976:a187600ec7d6
util: Add compat for prosody module name change to C sources
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 17 Mar 2023 18:03:07 +0100 |
parent | 12876:0ed24f48b6a6 |
line wrap: on
line diff
--- a/util-src/crypto.c Fri Mar 17 16:23:16 2023 +0100 +++ b/util-src/crypto.c Fri Mar 17 18:03:07 2023 +0100 @@ -592,7 +592,7 @@ { NULL, NULL } }; -LUALIB_API int luaopen_util_crypto(lua_State *L) { +LUALIB_API int luaopen_prosody_util_crypto(lua_State *L) { #if (LUA_VERSION_NUM > 501) luaL_checkversion(L); #endif @@ -616,3 +616,7 @@ #endif return 1; } + +LUALIB_API int luaopen_util_crypto(lua_State *L) { + return luaopen_prosody_util_crypto(L); +}