Misc bug fixes while testing
This commit is contained in:
@@ -515,7 +515,7 @@ class Message extends FTNBase
|
||||
} else {
|
||||
// Seenby & PATH - FSC-0068
|
||||
$return .= sprintf("SEEN-BY: %s\r",wordwrap(optimize_path($this->seenby)->join(' '),70,"\rSEEN-BY: "));
|
||||
$return .= sprintf("\01PATH: %s\r",wordwrap(optimize_path($this->path)->join(' '),70,"\rPATH: "));
|
||||
$return .= sprintf("\01PATH: %s\r",wordwrap(optimize_path($this->path)->join(' '),73,"\rPATH: "));
|
||||
}
|
||||
|
||||
$return .= "\00";
|
||||
|
@@ -127,7 +127,7 @@ final class Receive extends Item
|
||||
}
|
||||
|
||||
// Check the packet password
|
||||
if ($this->ao->session('pktpass') !== $po->password) {
|
||||
if ($this->ao->session('pktpass') != $po->password) {
|
||||
Log::error(sprintf('%s: ! Packet from [%s] with password [%s] is invalid.',self::LOGKEY,$this->ao->ftn,$po->password));
|
||||
// @todo Generate message to system advising invalid password - that message should be sent without a packet password!
|
||||
break;
|
||||
|
Reference in New Issue
Block a user