summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/ombqueuehandler.php1
-rwxr-xr-xscripts/smsqueuehandler.php3
-rwxr-xr-xscripts/xmppqueuehandler.php1
3 files changed, 4 insertions, 1 deletions
diff --git a/scripts/ombqueuehandler.php b/scripts/ombqueuehandler.php
index 7bdad2565..75e04dd19 100755
--- a/scripts/ombqueuehandler.php
+++ b/scripts/ombqueuehandler.php
@@ -40,6 +40,7 @@ class OmbQueueHandler {
}
function start() {
+ return true;
}
function handle_notice($notice) {
diff --git a/scripts/smsqueuehandler.php b/scripts/smsqueuehandler.php
index 99dd9cf77..dc78d6680 100755
--- a/scripts/smsqueuehandler.php
+++ b/scripts/smsqueuehandler.php
@@ -38,8 +38,9 @@ class SmsQueueHandler {
function transport() {
return 'omb';
}
-
+
function start() {
+ return true;
}
function handle_notice($notice) {
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) {