mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix segfault in deprecation logging due to tail call, log by default (#10174)
This commit is contained in:
parent
2dff3dd03f
commit
89dd05fdf3
9 changed files with 71 additions and 80 deletions
|
@ -358,11 +358,7 @@ void set_default_settings(Settings *settings)
|
|||
settings->setDefault("disallow_empty_password", "false");
|
||||
settings->setDefault("disable_anticheat", "false");
|
||||
settings->setDefault("enable_rollback_recording", "false");
|
||||
#ifdef NDEBUG
|
||||
settings->setDefault("deprecated_lua_api_handling", "legacy");
|
||||
#else
|
||||
settings->setDefault("deprecated_lua_api_handling", "log");
|
||||
#endif
|
||||
|
||||
settings->setDefault("kick_msg_shutdown", "Server shutting down.");
|
||||
settings->setDefault("kick_msg_crash", "This server has experienced an internal error. You will now be disconnected.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue