Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Compare Revisions
879c123ec4897cfbd5b534097855768f187cc4ed...74db6a5340f68a174472ed78ddf4435362733035
Commits (1)
Remove extra debug for Newsgroups heades, but log the internal code of sub
· 74db6a53
Rob Swindell
authored
Feb 03, 2022
74db6a53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
exec/nntpservice.js
exec/nntpservice.js
+2
-4
No files found.
exec/nntpservice.js
View file @
74db6a53
...
...
@@ -890,7 +890,6 @@ while(client.socket.is_connected && !quit) {
body
=
decode_news_body
(
hdr
,
body
);
log
(
LOG_DEBUG
,
"
hdr.newsgroups:
"
+
hdr
.
newsgroups
);
var
newsgroups
=
hdr
.
newsgroups
.
split
(
'
,
'
);
if
(
hdr
.
to
==
undefined
&&
hdr
.
reply_id
!=
undefined
)
...
...
@@ -917,7 +916,6 @@ while(client.socket.is_connected && !quit) {
break
;
}
log
(
LOG_DEBUG
,
"
newsgroups:
"
+
newsgroups
);
for
(
n
in
newsgroups
)
for
(
g
in
msg_area
.
grp_list
)
for
(
s
in
msg_area
.
grp_list
[
g
].
sub_list
)
...
...
@@ -976,8 +974,8 @@ while(client.socket.is_connected && !quit) {
hdr
.
attr
&=~
MSG_MODERATED
;
if
(
msgbase
.
save_msg
(
hdr
,
client
,
body
))
{
log
(
format
(
"
%s posted a message (%u chars, %u lines) on %s
"
,
user
.
alias
,
body
.
length
,
lines
,
newsgroups
[
n
]));
log
(
format
(
"
%s posted a message (%u chars, %u lines) on %s
(%s)
"
,
user
.
alias
,
body
.
length
,
lines
,
newsgroups
[
n
]
,
msgbase
.
cfg
.
code
));
posted
=
true
;
msgs_posted
++
;
}
else
...
...