Add mtime to receiving filename, so that we dont have name clashes with systems that use the same archive name for our host

This commit is contained in:
2023-11-16 20:39:48 +11:00
parent 250e584c03
commit 67747c062a
3 changed files with 4 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ class PacketProcess extends Command
if ($this->argument('ftn')) {
$a = Address::findFTN($this->argument('ftn'));
} elseif (preg_match('/^(([0-9]+)-)+/',$this->argument('file'),$m)) {
} elseif (preg_match('/^(([0-9A-F]+)-([0-9]+))+/',$this->argument('file'),$m)) {
$a = Address::findOrFail(hexdec($m[2]));
} else {