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 b49468ad authored by rswindell's avatar rswindell

If someone aborts the netuser name lookup (with Ctrl-C), don't print

"invalid netmail address"
parent 981fd18a
......@@ -173,7 +173,8 @@ bool sbbs_t::netmail(const char *into, const char *title, long mode, smb_t* resm
}
p=strrchr(to,'@'); /* Find '@' in name@addr */
if(p==NULL || net_type != NET_FIDO) {
bputs(text[InvalidNetMailAddr]);
if(!(sys_status&SS_ABORT))
bputs(text[InvalidNetMailAddr]);
return false;
}
if(!cfg.total_faddrs || (!SYSOP && !(cfg.netmail_misc&NMAIL_ALLOW))) {
......
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