Added two more global variables for templates

This commit is contained in:
Michiel Broek 2002-04-01 20:27:30 +00:00
parent 7b8fd9aa53
commit 924cc441e0
2 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -233,8 +233,9 @@ FILE *OpenMacro(const char *filename, int Language)
WriteError("OpenMacro(%s, %c): not found", filename, Language); WriteError("OpenMacro(%s, %c): not found", filename, Language);
else { else {
Syslog('d', "OpenMacro(%s, %c): using %s", filename, Language, temp); Syslog('d', "OpenMacro(%s, %c): using %s", filename, Language, temp);
MacroVars("HLMNSTUYZ", "ssssssssd", CFG.www_url, CFG.location, CFG.sysdomain, CFG.bbs_name, sprintf(temp, "%s-%s", OsName(), OsCPU());
CFG.sysop_name, CFG.comment, CFG.sysop, aka2str(CFG.aka[0]), 0); MacroVars("HLMNOSTUVYZ", "ssssssssssd", CFG.www_url, CFG.location, CFG.sysdomain, CFG.bbs_name, temp,
CFG.sysop_name, CFG.comment, CFG.sysop, VERSION, aka2str(CFG.aka[0]), 0);
} }
free(temp); free(temp);