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

Commit 6f6a4ff2 authored by Deucе's avatar Deucе 👌🏾
Browse files

Don't strip $.

I think I was intending to strip & and prevent those variables,
but it looks like the original doesn't.

However, it also looks like the original doesn't *always* replace
string variables... will need to look into that harder in the future.
parent fe7c54ca
...@@ -571,10 +571,7 @@ function clean_str(str) ...@@ -571,10 +571,7 @@ function clean_str(str)
var i; var i;
for (i = 0; i < str.length; i += 1) { for (i = 0; i < str.length; i += 1) {
if (str[i] === '$') { if (str[i] !== '`') {
// Just skip it.
}
else if (str[i] !== '`') {
ret += str[i]; ret += str[i];
} }
else { else {
......
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