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 55041d65 authored by Randy Sommerfeld's avatar Randy Sommerfeld

Fix for 0 TS on server-to-server MODE

parent e6bc0980
......@@ -420,7 +420,7 @@ function Server_Work(cmdline) {
));
break;
case "MODE":
if (!p[1])
if (typeof p[1] === undefined)
break;
if (p[0][0] != "#") { /* Setting a user mode */
tmp = origin.setusermode(p[1]);
......
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