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

Fix inverted logic of noyes() prompt in previous commit.

parent 733ddc69
Pipeline #681 passed with stage
in 16 minutes and 43 seconds
......@@ -536,9 +536,9 @@ bool sbbs_t::logon()
if(online==ON_REMOTE)
rioctl(IOSM|ABORT); /* Turn abort ability on */
if(text[ReadYourMailNowQ][0] && mailw) {
if((mailw == mailr && noyes(text[ReadYourMailNowQ]))
if((mailw == mailr && !noyes(text[ReadYourMailNowQ]))
|| (mailw != mailr && yesno(text[ReadYourMailNowQ])))
readmail(useron.number,MAIL_YOUR);
readmail(useron.number,MAIL_YOUR);
}
if(usrgrps && useron.misc&ASK_NSCAN && text[NScanAllGrpsQ][0] && yesno(text[NScanAllGrpsQ]))
scanallsubs(SCAN_NEW);
......
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