Added tic areas switch to default set nodes SR

This commit is contained in:
Michiel Broek
2005-08-12 12:51:37 +00:00
parent 699e71b0a2
commit 4ae090065b
5 changed files with 73 additions and 59 deletions

View File

@@ -4,7 +4,7 @@
* Purpose ...............: Create TIC Area and BBS file area.
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2005
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@@ -179,7 +179,7 @@ int CheckTicGroup(char *Area, int SendUplink, faddr *f)
}
/*
* Some peaple write taglists with lowercase tagnames...
* Some people write taglists with lowercase tagnames...
*/
for (i = 0; i < strlen(tag); i++)
tag[i] = toupper(tag[i]);

View File

@@ -547,6 +547,8 @@ void F_Connect(faddr *t, char *Area, FILE *tmp)
memset(&Sys, 0, sizeof(Sys));
memcpy(&Sys.aka, faddr2fido(t), sizeof(fidoaddr));
Sys.sendto = TRUE;
if (tic.NewSR)
Sys.receivefrom = TRUE;
if (TicSystemConnected(Sys)) {
MacroVars("SsP", "sss", CFG.sysop_name, nodes.Sysop,"Filemgr");
@@ -657,6 +659,8 @@ void F_All(faddr *t, int Connect, FILE *tmp, char *Grp)
memset(&Sys, 0, sizeof(Sys));
memcpy(&Sys.aka, faddr2fido(t), sizeof(fidoaddr));
Sys.sendto = TRUE;
if (tic.NewSR)
Sys.receivefrom = TRUE;
fseek(fp, - sizeof(Sys), SEEK_CUR);
fwrite(&Sys, sizeof(Sys), 1, fp);
Mgrlog("FileMgr: Connected %s", tic.Name);