mirror of
https://git.phreedom.club/localhost_frssoft/fediauth.git
synced 2024-11-25 17:31:29 +00:00
19 lines
409 B
Lua
19 lines
409 B
Lua
local MP = minetest.get_modpath("otp")
|
|
|
|
otp = {
|
|
-- mod storage
|
|
storage = minetest.get_mod_storage(),
|
|
|
|
-- baseXX functions
|
|
basexx = loadfile(MP.."/basexx.lua")(),
|
|
|
|
-- qr code
|
|
qrcode = loadfile(MP.."/qrencode.lua")().qrcode
|
|
}
|
|
|
|
dofile(MP.."/functions.lua")
|
|
|
|
if minetest.get_modpath("mtt") and mtt.enabled then
|
|
dofile(MP.."/functions.spec.lua")
|
|
dofile(MP.."/qrencode.spec.lua")
|
|
end |