]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/jabberqueuehandler.php
Twitter-compatible API - since_id and before_id were polluting the cache and generati...
[quix0rs-gnu-social.git] / scripts / jabberqueuehandler.php
index 196b3bf6bf10d73a9f5d2017051ca3271b92b460..59cdb94ad72e28dd0e0b6dd861f72ddf51fcbb01 100755 (executable)
@@ -29,7 +29,7 @@ define('LACONICA', true);
 
 require_once(INSTALLDIR . '/lib/common.php');
 require_once(INSTALLDIR . '/lib/jabber.php');
-require_once(INSTALLDIR . '/lib/queuehandler.php');
+require_once(INSTALLDIR . '/lib/xmppqueuehandler.php');
 
 set_error_handler('common_error_handler');
 
@@ -45,7 +45,7 @@ class JabberQueueHandler extends XmppQueueHandler {
                try {
                        return jabber_broadcast_notice($notice);
                } catch (XMPPHP_Exception $e) {
-                       $this->log(LOG_ERROR, "Got an XMPPHP_Exception: " . $e->getMessage());
+                       $this->log(LOG_ERR, "Got an XMPPHP_Exception: " . $e->getMessage());
                        exit(1);
                }
        }