Misc bug fixes while testing

This commit is contained in:
Deon George
2022-02-03 17:35:52 +11:00
parent b65289af9f
commit a05ca1c2a4
5 changed files with 6 additions and 6 deletions

View File

@@ -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;