summaryrefslogtreecommitdiff
path: root/scripts/ombqueuehandler.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-27 21:10:02 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-27 21:10:02 -0400
commitcde3bc585fd7763a4840fc865f1cc4164c22293e (patch)
tree39f34da89cb1151eac863f225166737974f95c4d /scripts/ombqueuehandler.php
parent6b1f391306b79c3083663d87faee4dc8fa3fea5f (diff)
return correct values for success in handling messages
darcs-hash:20080828011002-84dde-8099da64841ab137e915249025857f34084c0f34.gz
Diffstat (limited to 'scripts/ombqueuehandler.php')
-rwxr-xr-xscripts/ombqueuehandler.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/ombqueuehandler.php b/scripts/ombqueuehandler.php
index 36d5d7b9c..28c76db9a 100755
--- a/scripts/ombqueuehandler.php
+++ b/scripts/ombqueuehandler.php
@@ -44,8 +44,11 @@ class OmbQueueHandler extends QueueHandler {
}
function handle_notice($notice) {
- if (!$this->is_remote($notice)) {
- omb_broadcast_remote_subscribers($notice);
+ if ($this->is_remote($notice)) {
+ # It's fine, we're done with it.
+ return true;
+ } else {
+ return omb_broadcast_remote_subscribers($notice);
}
}