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

Added new @-codes: MSG_SUMMARY and MSG_TAGS.

MSG_SUMMARY is currently never populated by anything.
MSG_TAGS is a new (optional) thing.
parent 1bfc2545
No related branches found
No related tags found
No related merge requests found
......@@ -1029,6 +1029,10 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen)
}
if(!strcmp(sp,"MSG_SUBJECT") && current_msg!=NULL)
return(current_msg->subj==NULL ? nulstr : current_msg->subj);
if(!strcmp(sp,"MSG_SUMMARY") && current_msg!=NULL)
return(current_msg->summary==NULL ? nulstr : current_msg->summary);
if(!strcmp(sp,"MSG_TAGS") && current_msg!=NULL)
return(current_msg->tags==NULL ? nulstr : current_msg->tags);
if(!strcmp(sp,"MSG_DATE") && current_msg!=NULL)
return(timestr(current_msg->hdr.when_written.time));
if(!strcmp(sp,"MSG_AGE") && current_msg!=NULL)
......
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