Fix for bug introduced in 7c23971
that was affecting transfers with binkd nodes
This commit is contained in:
parent
b9603e4bb8
commit
cfb408766f
@ -88,6 +88,10 @@ class Node
|
||||
// If we are originating a session, we'll use that password.
|
||||
if (isset($this->originate))
|
||||
return $this->originate->pass_session;
|
||||
|
||||
// If we have already authed, we'll use that password.
|
||||
if ($this->ftns_authed->count())
|
||||
return $this->ftns_authed->first()->pass_session;
|
||||
else
|
||||
return ($this->ftns->count() && ($x=$this->ftns->first()->pass_session)) ? $x : '-';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user