Skip to content
Snippets Groups Projects
Commit 3cfb93b1 authored by rswindell's avatar rswindell
Browse files

Fixed typo (reported by Cisop).

parent a9f5b9fd
No related branches found
No related tags found
No related merge requests found
......@@ -507,8 +507,8 @@ function process_contribution(header, body, list)
if(msg_area.sub[list.sub.toLowerCase()].is_moderated)
header.attr |= MSG_MODERATED;
// Remove [listname] from imported subject
header.subject=header.subject.replace(RegExp("\\["+listname+"\\]\\s*"), "");
// Remove [list.name] from imported subject
header.subject=header.subject.replace(RegExp("\\["+list.name+"\\]\\s*"), "");
if(!msgbase.save_msg(header, body.join('\r\n'))) {
log(LOG_ERR,format("ListServer: %s !ERROR %s saving message to sub: %s"
......
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