Commit 74db6a53 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

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

parent 879c123e
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment