1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-27 12:55:58 +01:00

SSH2: != -> |=

This commit is contained in:
terrafrost 2014-04-07 00:25:38 -05:00
parent 8f08301744
commit 6fcfe5c885

View File

@ -1757,7 +1757,7 @@ class Net_SSH2
function login($username) function login($username)
{ {
if (!($this->bitmap & NET_SSH2_MASK_CONSTRUCTOR)) { if (!($this->bitmap & NET_SSH2_MASK_CONSTRUCTOR)) {
$this->bitmap != NET_SSH2_MASK_CONSTRUCTOR; $this->bitmap |= NET_SSH2_MASK_CONSTRUCTOR;
if (!$this->_connect()) { if (!$this->_connect()) {
return false; return false;
} }