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 20f10e84 authored by Rob Swindell's avatar Rob Swindell 💬

Fix "undefined" message displayed to W-restricted users.

As reported by plt from the I, the R, and the C.

Also, abort menu upon Ctrl-C.
parent da1eff6a
......@@ -11,7 +11,7 @@ function automsg()
{
const quote_fmt=" > %.*s\r\n";
var automsg = system.data_dir + "msgs/auto.msg";
while(bbs.online && !js.termiated) {
while(bbs.online && !js.termiated && !console.aborted) {
bbs.nodesync();
console.mnemonics(bbs.text(AutoMsg));
switch(console.getkeys("RWQD",0)) {
......@@ -20,7 +20,7 @@ function automsg()
break;
case 'W':
if(user.security.restrictions&UFLAG_W) {
console.print(bbs.text[R_AutoMsg]);
console.print(bbs.text(R_AutoMsg));
break;
}
bbs.action=NODE_AMSG;
......
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