Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarLua.cpp
diff options
context:
space:
mode:
authorWasabiRaptor <ketchupraptor@gmail.com>2025-05-25 13:24:44 -0400
committerWasabiRaptor <ketchupraptor@gmail.com>2025-05-25 13:24:44 -0400
commit59854f015602b791b51c20a008e78aaed68d20b9 (patch)
tree7b2f17dc60ad192fddec182f982f6feb5781eddd /source/core/StarLua.cpp
parent96b86c63fd168df1a8463f184932d1b39c4284ec (diff)
parent1eac38c5526f6d4deee811e9995ed5579cdda46c (diff)
Merge branch 'main' into networked-animator-improvements
Diffstat (limited to 'source/core/StarLua.cpp')
-rw-r--r--source/core/StarLua.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarLua.cpp b/source/core/StarLua.cpp
index 201f238..b70fe59 100644
--- a/source/core/StarLua.cpp
+++ b/source/core/StarLua.cpp
@@ -319,7 +319,7 @@ LuaEnginePtr LuaEngine::create(bool safe) {
luaL_requiref(self->m_state, "os", luaopen_os, true);
if (safe) {
- StringSet osWhitelist = {"clock", "difftime", "time"};
+ StringSet osWhitelist = {"clock", "difftime", "time", "date"};
lua_pushnil(self->m_state);
while (lua_next(self->m_state, -2) != 0) {