Skip to content
Snippets Groups Projects
Commit b49468ad authored by rswindell's avatar rswindell
Browse files

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

"invalid netmail address"
parent 981fd18a
No related branches found
No related tags found
No related merge requests found
......@@ -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))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment