Small fix for setting macros in forwarding files
This commit is contained in:
parent
405179d602
commit
99194c2925
@ -136,16 +136,18 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
|
|||||||
if ((net = SendMgrMail(fido2faddr(Node), CFG.ct_KeepMgr, TRUE, (char *)"Filemgr", subject, NULL)) != NULL) {
|
if ((net = SendMgrMail(fido2faddr(Node), CFG.ct_KeepMgr, TRUE, (char *)"Filemgr", subject, NULL)) != NULL) {
|
||||||
if ((fi = OpenMacro("forward.tic", nodes.Language, FALSE)) != NULL) {
|
if ((fi = OpenMacro("forward.tic", nodes.Language, FALSE)) != NULL) {
|
||||||
ftime = TIC.FileDate;
|
ftime = TIC.FileDate;
|
||||||
MacroVars("ab", "ss", TIC.TicIn.Area, tic.Comment);
|
MacroVars("a", "s", TIC.TicIn.Area);
|
||||||
MacroVars("cd", "ds", TIC.FileCost, fgroup.Comment);
|
MacroVars("b", "s", tic.Comment);
|
||||||
MacroVars("fg", "sd", TIC.TicIn.FullName, TIC.FileSize);
|
MacroVars("c", "d", TIC.FileCost);
|
||||||
MacroVars("hi", "ds", TIC.FileSize / 1024, TIC.TicIn.Crc);
|
MacroVars("d", "s", fgroup.Comment);
|
||||||
MacroVars("jm", "ss", TIC.TicIn.Origin, rfcdate(ftime));
|
MacroVars("f", "s", TIC.TicIn.FullName);
|
||||||
MacroVars("ns", "ss", TIC.TicIn.Desc, nodes.Sysop);
|
MacroVars("g", "d", TIC.FileSize);
|
||||||
// MacroVars("abcdfghijmns", "ssdssddsssss", TIC.TicIn.Area, tic.Comment, TIC.FileCost, fgroup.Comment,
|
MacroVars("h", "d", (TIC.FileSize / 1024));
|
||||||
// TIC.TicIn.FullName, TIC.FileSize, TIC.FileSize / 1024,
|
MacroVars("i", "s", TIC.TicIn.Crc);
|
||||||
// TIC.TicIn.Crc, TIC.TicIn.Origin, rfcdate(ftime),
|
MacroVars("j", "s", TIC.TicIn.Origin);
|
||||||
// TIC.TicIn.Desc, nodes.Sysop);
|
MacroVars("m", "s", rfcdate(ftime));
|
||||||
|
MacroVars("n", "s", TIC.TicIn.Desc);
|
||||||
|
MacroVars("s", "s", nodes.Sysop);
|
||||||
if (TIC.SendOrg)
|
if (TIC.SendOrg)
|
||||||
MacroVars("e", "s", TIC.RealName);
|
MacroVars("e", "s", TIC.RealName);
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user