Fixed auto creation of newsgroup names in echomail areas
This commit is contained in:
parent
adde3b0e5d
commit
e2030a7907
@ -3,6 +3,11 @@ $Id$
|
||||
|
||||
v0.61.1 20-Jun-2004.
|
||||
|
||||
upgrade:
|
||||
If you compiled with ./configure --enable-newsgate you may
|
||||
need to erase the newsgroup names in the echomail areas you
|
||||
don't want to gate to news.
|
||||
|
||||
general:
|
||||
Added compile directive for full newsgate. If this switch is
|
||||
used then mbfido behaves like it did upto version 0.50.0 and
|
||||
@ -20,6 +25,8 @@ v0.61.1 20-Jun-2004.
|
||||
|
||||
mbsetup:
|
||||
Added user@domain login for pop3 servers in screen 1.12.
|
||||
Added compile directive for full newsgate to prevent newsgroup
|
||||
name creation in default compiled mode.
|
||||
|
||||
|
||||
v0.61.0 06-Jun-2004 - 20-Jun-2004
|
||||
|
@ -242,6 +242,7 @@ int OpenMsgarea(void)
|
||||
}
|
||||
if ((int)msgs.Created == 0) {
|
||||
msgs.Created = start;
|
||||
#ifndef USE_NEWSGATE
|
||||
if ((strlen(msgs.Newsgroup) == 0) && (msgs.Type == ECHOMAIL) && strlen(msgs.Group)) {
|
||||
sprintf(msgs.Newsgroup, "%s.%s", GetFidoDomain(msgs.Aka.zone), msgs.Tag);
|
||||
for (i = 0; i < strlen(msgs.Newsgroup); i++) {
|
||||
@ -251,6 +252,7 @@ int OpenMsgarea(void)
|
||||
}
|
||||
Syslog('+', "Area %s created newsgroup name %s", msgs.Tag, msgs.Newsgroup);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
fwrite(&msgs, sizeof(msgs), 1, fout);
|
||||
memset(&msgs, 0, sizeof(msgs));
|
||||
|
Reference in New Issue
Block a user