Skip to content
Snippets Groups Projects
Commit 28bf2eee authored by rswindell's avatar rswindell
Browse files

Changed spamlog usage (includes "action" parameter).

parent f0ca40d4
No related branches found
No related tags found
No related merge requests found
......@@ -558,7 +558,8 @@ while(client.socket.is_connected) {
log(format("!BLOCKED subject: %s",hdr.subject));
var reason = format("Blocked subject from %s (%s): %s"
,user.alias,hdr.from,hdr.subject);
system.spamlog("NNTP",reason,client.host_name,client.ip_address,hdr.to);
system.spamlog("NNTP","BLOCKED"
,reason,client.host_name,client.ip_address,hdr.to);
writeln("441 posting failed");
break;
}
......
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