mirror of
https://github.com/danog/tgseclib.git
synced 2025-01-22 05:51:20 +01:00
SSH2: make isConnected return true if even if we're not logged in
This commit is contained in:
parent
13317c1004
commit
ac2fc96263
@ -2658,7 +2658,7 @@ class Net_SSH2
|
||||
*/
|
||||
function isConnected()
|
||||
{
|
||||
return $this->bitmap & NET_SSH2_MASK_LOGIN;
|
||||
return $this->bitmap & NET_SSH2_MASK_CONNECTED;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user