diff options
author | Brenda Wallace <shiny@cpan.org> | 2010-01-24 14:54:31 +1300 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2010-01-24 14:54:31 +1300 |
commit | ef3b849db05ff6ad4b9e97b38a82242a710519d1 (patch) | |
tree | 7a121df2e7ed4b4644b92b9652e1fc59999f84df /lib/jabberqueuehandler.php | |
parent | 02a6006bafd663443b512c5c283b64c7dacfbbb1 (diff) | |
parent | 8c54151dbd2dbf99b23124ec618b2fa5570ac2ee (diff) |
Merge commit 'mainline/0.9.x' into 0.9.x
Diffstat (limited to 'lib/jabberqueuehandler.php')
-rw-r--r-- | lib/jabberqueuehandler.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jabberqueuehandler.php b/lib/jabberqueuehandler.php index b1518866d..83471f2df 100644 --- a/lib/jabberqueuehandler.php +++ b/lib/jabberqueuehandler.php @@ -34,14 +34,14 @@ class JabberQueueHandler extends QueueHandler return 'jabber'; } - function handle_notice($notice) + function handle($notice) { require_once(INSTALLDIR.'/lib/jabber.php'); try { return jabber_broadcast_notice($notice); } catch (XMPPHP_Exception $e) { $this->log(LOG_ERR, "Got an XMPPHP_Exception: " . $e->getMessage()); - exit(1); + return false; } } } |