-=> Quoting Digital Man to Mauro Veiga <=-
DM> Re: NNTP tearline
DM> By: Mauro Veiga to DIGITAL MAN on Thu Apr 15 2021 09:18 am
> Hello, Rob.
>
> Is possible to config NNTP service to add a tearline on messages
> posted by NNTP, like SBBSECHO do on messages?
DM> It doesn't have that feature (nor do I understand why you would want
DM> it), but if you wanted to add it, you would do something like this in
DM> exec/nntpservice.js (copy to your "mods" dir first) around line 976:
DM> body += "\r\n--- my tear line"; // add this line
DM> if(msgbase.save_msg(hdr,client,body)) { --
Don't work. Probably i do something wrong.
Lines 973 to 992: -------------------------------8<-----------------------------
default:
writeln("500 Syntax error or unknown command");
log(LOG_NOTICE,"!unknown command");
break;
body += "\r\n--- my tear line"; // add this line if(msgbase.save_msg(hdr,client,body)) {
}
}
// Log statistics
if(msgs_read)
log(format("%u messages read",msgs_read));
if(msgs_posted)
log(format("%u messages posted",msgs_posted));
/* End of nntpservice.js */
} <������Ŀ
-------------------------------8<----------------------------- �
I put this because a log error ����
... Backup not found: (A)bort (R)etry (P)anic
___ Blue Wave/DOS v2.30
---
� Synchronet � Ninho do Abutre 2 BBS - Rio de Janeiro, Brazil
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 07:38:14 |
Calls: | 97 |
Files: | 4,621 |
Messages: | 216,818 |