summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxmppdaemon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmppdaemon.php b/xmppdaemon.php
index c526b4ef0..b07f44cff 100755
--- a/xmppdaemon.php
+++ b/xmppdaemon.php
@@ -63,7 +63,7 @@ class XMPPDaemon {
if (!$this->conn) {
return false;
}
- return !$this->conn->disconnected;
+ return !$this->conn->isDisconnected();
}
function handle() {