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

sbbs_t::netmail() should return the result of qnetmail(), when called.

Nobody checks the netmail() return value apparently, but this has been a bug
since ... forever.
parent 90f3094a
No related branches found
No related tags found
No related merge requests found
...@@ -157,8 +157,7 @@ bool sbbs_t::netmail(const char *into, const char *title, long mode, smb_t* resm ...@@ -157,8 +157,7 @@ bool sbbs_t::netmail(const char *into, const char *title, long mode, smb_t* resm
bputs(text[EmailFilesNotAllowed]); bputs(text[EmailFilesNotAllowed]);
mode&=~WM_FILE; mode&=~WM_FILE;
} }
qnetmail(to, title, mode, resmb, remsg); return qnetmail(to, title, mode, resmb, remsg);
return false;
} }
if(net_type == NET_INTERNET) { if(net_type == NET_INTERNET) {
if(!(cfg.inetmail_misc&NMAIL_ALLOW)) { if(!(cfg.inetmail_misc&NMAIL_ALLOW)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment