~mdw
/
newsgate
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
inject: Only insert an Approved header if one was requested.
[newsgate]
/
bin
/
inject
diff --git
a/bin/inject
b/bin/inject
index
6dbfdb3
..
3d7c65d
100755
(executable)
--- 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'
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
xify = {}
for h in '''
lines xref newsgroups path distribution approved received