X-Git-Url: https://git.distorted.org.uk/~mdw/newsgate/blobdiff_plain/6db61c4c050113be6d7ef1bb1673437393dcc6a2..9eacde01a08fa455949c1bc0d59540579685eb57:/bin/inject diff --git a/bin/inject b/bin/inject index 6dbfdb3..3d7c65d 100755 --- a/bin/inject +++ b/bin/inject @@ -104,8 +104,8 @@ def send(): hdr.write('Path: newsgate\r\n' 'Distribution: mail\r\n' 'Newsgroups: %s\r\n' - 'Approved: %s\r\n' - % (group, approved or 'newsgate@%s' % host)) + % group) + if approved: hdr.write('Approved: %s\r\n' % approved) xify = {} for h in ''' lines xref newsgroups path distribution approved received