*** art.c~ Sun May 18 10:10:43 1997
--- art.c Tue Jun 17 02:05:51 1997
***************
*** 1740,1745 ****
--- 1740,1746 ----
ARTDATA Data;
BOOL Approved;
BOOL Accepted;
+ BOOL DontRemember;
BOOL LikeNewgroup;
BOOL ToGroup;
BOOL GroupMissing;
***************
*** 1981,1989 ****
Approved = *p != '\0';
ngptr = GroupPointers;
j = 0;
! for (GroupMissing = Accepted = FALSE; (p = *groups) != NULL; groups++) {
! if (!RCcanpost(cp, p))
continue;
if ((ngp = NGfind(p)) == NULL) {
GroupMissing = TRUE;
if (LikeNewgroup && Approved) {
--- 1982,1992 ----
Approved = *p != '\0';
ngptr = GroupPointers;
j = 0;
! for (GroupMissing = Accepted = DontRemember = FALSE; (p = *groups) != NULL; groups++)
{
! if (!RCcanpost(cp, p)) {
! DontRemember = TRUE;
continue;
+ }
if ((ngp = NGfind(p)) == NULL) {
GroupMissing = TRUE;
if (LikeNewgroup && Approved) {
***************
*** 2091,2097 ****
ARTlog(&Data, ART_REJECT, buff);
#if defined(DONT_WANT_TRASH)
#if defined(DO_REMEMBER_TRASH)
! if (Mode == OMrunning && !HISwrite(&Data, ""))
syslog(L_ERROR, "%s cant write history %s %m",
LogName, Data.MessageID);
#endif /* defined(DO_REMEMBER_TRASH) */
--- 2094,2100 ----
ARTlog(&Data, ART_REJECT, buff);
#if defined(DONT_WANT_TRASH)
#if defined(DO_REMEMBER_TRASH)
! if (!DontRemember && Mode == OMrunning && !HISwrite(&Data, ""))
syslog(L_ERROR, "%s cant write history %s %m",
LogName, Data.MessageID);
#endif /* defined(DO_REMEMBER_TRASH) */
***************
*** 2107,2113 ****
* you explicitly excluded in your active file. */
if (!GroupMissing) {
#if defined(DO_REMEMBER_TRASH)
! if (Mode == OMrunning && !HISwrite(&Data, ""))
syslog(L_ERROR, "%s cant write history %s %m",
LogName, Data.MessageID);
#endif /* defined(DO_REMEMBER_TRASH) */
--- 2110,2116 ----
* you explicitly excluded in your active file. */
if (!GroupMissing) {
#if defined(DO_REMEMBER_TRASH)
! if (!DontRemember && Mode == OMrunning && !HISwrite(&Data, ""))
syslog(L_ERROR, "%s cant write history %s %m",
LogName, Data.MessageID);
#endif /* defined(DO_REMEMBER_TRASH) */