use method instead of now-protected attribute for xmpp

darcs-hash:20080705184729-84dde-8ed4e07c1694f0300bf5acf967e8c596b9c4d635.gz
This commit is contained in:
Evan Prodromou 2008-07-05 14:47:29 -04:00
parent 17f9601572
commit a050b2f1d9

View File

@ -63,7 +63,7 @@ class XMPPDaemon {
if (!$this->conn) { if (!$this->conn) {
return false; return false;
} }
return !$this->conn->disconnected; return !$this->conn->isDisconnected();
} }
function handle() { function handle() {