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

Calls writemsg() with subnum argument = INVALID_SUB (indicating e-mail).

parent 10fea8a6
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ void sbbs_t::bulkmail(uchar *ar)
sprintf(msgpath,"%sINPUT.MSG",cfg.node_dir);
sprintf(str2,"Bulk Mailing");
if(!writemsg(msgpath,nulstr,title,WM_EMAIL,0,str2)) {
if(!writemsg(msgpath,nulstr,title,WM_EMAIL,INVALID_SUB,str2)) {
bputs(text[Aborted]);
return; }
......
......@@ -102,7 +102,7 @@ bool sbbs_t::email(int usernumber, char *top, char *subj, long mode)
sprintf(msgpath,"%sINPUT.MSG", cfg.node_dir);
username(&cfg,usernumber,str2);
if(!writemsg(msgpath,top,title,mode,0,str2)) {
if(!writemsg(msgpath,top,title,mode,INVALID_SUB,str2)) {
bputs(text[Aborted]);
return(false); }
......
......@@ -91,7 +91,7 @@ bool sbbs_t::inetmail(char *into, char *subj, long mode)
nodesync();
sprintf(msgpath,"%snetmail.msg",cfg.node_dir);
if(!writemsg(msgpath,nulstr,title,mode,0,into)) {
if(!writemsg(msgpath,nulstr,title,mode,INVALID_SUB,into)) {
bputs(text[Aborted]);
return(false); }
......@@ -329,7 +329,7 @@ bool sbbs_t::qnetmail(char *into, char *subj, long mode)
nodesync();
sprintf(msgpath,"%snetmali.msg",cfg.node_dir);
if(!writemsg(msgpath,nulstr,title,mode|WM_QWKNET,0,to)) {
if(!writemsg(msgpath,nulstr,title,mode|WM_QWKNET,INVALID_SUB,to)) {
bputs(text[Aborted]);
return(false); }
......
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