summaryrefslogtreecommitdiff
path: root/scripts/xmppqueuehandler.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-27 20:30:13 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-27 20:30:13 -0400
commit08d5107cf1a69c2640c96ee8a3d834541a530146 (patch)
treef303c79a9f0e19f57e5f2da596accd32dc3e9240 /scripts/xmppqueuehandler.php
parent9cdb33ac0e79ce386dc7ab822755c5ef7080f3be (diff)
correct return values from start() in queue handlers
darcs-hash:20080828003013-84dde-7c8323ef348960f58590e872b2c4ab37107ba60a.gz
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) {