Skip to content
Snippets Groups Projects
Commit 68577e2e authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Remove extra debug for Newsgroups heades, but log the internal code of sub

parent 1349c4e4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment