Describe the bug
To Reproduce
Steps to reproduce the behavior:
- The server needs to be started with
--auth enabled.
- Pass something to
-D/--Database.
- Provide a
database.lua. See manual.
- In the server console, enter:
fcdb lua This is fine.
- Observe crash.
Expected behavior
A clear and concise explanation of why this is NOT fine to write in Lua, and the server keeps running.
Console logs
> fcdb lua This is fine.
[sol2] An error occurred and has been passed to an error handler: sol: syntax error: [string " This is fine."]:1: syntax error near 'is'
terminate called after throwing an instance of 'sol::error'
what(): sol: syntax error: [string " This is fine."]:1: syntax error near 'is'
Platform and version (please complete the following information):
- OS: Debian
- Freeciv21 version: 3.2-dev (f2eca12)
- Ruleset/Longturn game (if applicable): CTF
Additional context
Discussion on discord
Describe the bug
To Reproduce
Steps to reproduce the behavior:
--authenabled.-D/--Database.database.lua. See manual.fcdb lua This is fine.Expected behavior
A clear and concise explanation of why this is NOT fine to write in Lua, and the server keeps running.
Console logs
Platform and version (please complete the following information):
Additional context
Discussion on discord