summaryrefslogtreecommitdiff
path: root/scripts/xmppqueuehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xmppqueuehandler.php')
-rwxr-xr-xscripts/xmppqueuehandler.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/xmppqueuehandler.php b/scripts/xmppqueuehandler.php
index 626db8507..5c1445bd2 100755
--- a/scripts/xmppqueuehandler.php
+++ b/scripts/xmppqueuehandler.php
@@ -42,6 +42,7 @@ class XmppQueueHandler {
function start() {
# Low priority; we don't want to receive messages
$this->conn = jabber_connect($this->resource, NULL, -100);
+ return !is_null($this->conn);
}
function handle_notice($notice) {