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,6 +173,7 @@ bool sbbs_t::netmail(const char *into, const char *title, long mode, smb_t* resm ...@@ -173,6 +173,7 @@ bool sbbs_t::netmail(const char *into, const char *title, long mode, smb_t* resm
} }
p=strrchr(to,'@'); /* Find '@' in name@addr */ p=strrchr(to,'@'); /* Find '@' in name@addr */
if(p==NULL || net_type != NET_FIDO) { if(p==NULL || net_type != NET_FIDO) {
if(!(sys_status&SS_ABORT))
bputs(text[InvalidNetMailAddr]); bputs(text[InvalidNetMailAddr]);
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment