Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

Commit 3dcc121a authored by Deucе's avatar Deucе 👌🏾

Use getvar() on exist/exists arguments.

parent 9b380ba9
......@@ -1164,7 +1164,7 @@ function run_ref(sec, fname)
case 'exist':
case 'exists':
if (file_exists(getfname(args[0])) === (args[2].toLowerCase() === 'true')) {
if (file_exists(getfname(getvar(args[0]))) === (getvar(args[2]).toLowerCase() === 'true')) {;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment