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 35fc1bed authored by echicken's avatar echicken 🐔

Poll-posting things

parent a2dfd978
......@@ -164,9 +164,17 @@ if ((http_request.method === 'GET' || http_request.method === 'POST') &&
if (typeof http_request.query.subject !== 'undefined' &&
typeof http_request.query.sub !== 'undefined' &&
typeof http_request.query.votes !== 'undefined' &&
typeof http_request.query.results !== 'undefined' &&
typeof http_request.query.answer !== 'undefined'
) {
reply = "barf";
reply.success = postPoll(
http_request.query.sub[0],
http_request.query.subject[0],
http_request.query.votes[0],
http_request.query.results[0],
http_request.query.answer,
http_request.query.comment || []
);
}
break;
......
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