doc(lua): Example: Remove <const> for Lua 5.3 compatibility

This commit is contained in:
PRESFIL
2025-08-05 19:27:01 +00:00
committed by Jari Sundell
parent 1492d39a3a
commit b0c68aa398
+1 -1
View File
@@ -29,7 +29,7 @@ end
-- Instance layout (base paths) -- Instance layout (base paths)
local home = os.getenv('HOME') local home = os.getenv('HOME')
local cfg <const> = {} local cfg = {}
cfg.basedir = home..'/rtorrent/' cfg.basedir = home..'/rtorrent/'
cfg.download = cfg.basedir..'download/' cfg.download = cfg.basedir..'download/'
cfg.logs = cfg.basedir..'log/' cfg.logs = cfg.basedir..'log/'