saSUB.net/srSUB.net file not sent to subscribers to an auto-requestable SUB
Closed this issue · 3 comments
with a board named SUB, tech docs describe a file named "saSUB.net" in DATA that will be sent to new subscribers when they make an ADD REQuest. i tested making "saSUB.net" in DATA and on another BBS (B) made an ADD SUB request. 1@B received the response but without the contents of "saSUB.net". on checking the logs, network2 was attempting to read saSUB.net FROM NETWORK.DIR!
i tried making saSUB.net in NETWORK.DIR before, but network3 sees "s*.net" and renames it to "p0-3-0.net" which network1 tries to process and eventually sends to dead.net.
possible bug in network3? mask for packets to process should exclude "sa*.net" and "sr*.net" and only process "s[:numeric:]*.net" files.
in network3/network3.cpp rename_pending_files()
FindFiles ff(FilePath(dir, "s*.net"), FindFiles::FindFilesType::files);
can the * wildcard be changed to a regexp for numerics?
Fixed in fd145fe