luci-lua-runtime: preload luci.ltn12
authorJo-Philipp Wich <[email protected]>
Thu, 10 Nov 2022 23:42:14 +0000 (00:42 +0100)
committerJo-Philipp Wich <[email protected]>
Thu, 10 Nov 2022 23:42:14 +0000 (00:42 +0100)
commit0141732f87d04803d499792a6039a00a3ca9eeeb
tree8f0abce4a1b3b9c2b9718bd838582fbf6d6be8b4
parent2cbfd64dcb63cf82102cc4dc2963a2f9da91e477
luci-lua-runtime: preload luci.ltn12

Some existing legacy code expects the luci.ltn12 namespace to be implicitly
available, even without requiring it beforehand.

Fixes: #6091
Signed-off-by: Jo-Philipp Wich <[email protected]>
modules/luci-lua-runtime/luasrc/ucodebridge.lua