Added passeneg manager. Part 12

This commit is contained in:
Alexey Berezhok
2024-12-30 00:16:14 +03:00
parent 5443ea44dd
commit 6bd321a1da
11 changed files with 487 additions and 240 deletions

View File

@@ -103,6 +103,13 @@ else
else
if msgid_id == ""
msgid_tmp += line
else
if line.strip != ""
post_msgid[msgid_id] << line
else
msgid_id = ""
msgid_tmp = ""
end
end
end
end
@@ -132,8 +139,10 @@ else
if post_msgid[msgid_id].nil?
f.puts line
else
post_msgid[msgid_id].each do |item|
f.puts item
if msgid_id.strip.gsub("\n", "") != "\"\""
post_msgid[msgid_id].each do |item|
f.puts item
end
end
end
end