X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fjabberqueuehandler.php;h=59cdb94ad72e28dd0e0b6dd861f72ddf51fcbb01;hb=8deac7248e7db35515d7810491f9136deffa3098;hp=196b3bf6bf10d73a9f5d2017051ca3271b92b460;hpb=bd83350c89383ef3eb0237b9f34d3d5ccb5b2651;p=quix0rs-gnu-social.git diff --git a/scripts/jabberqueuehandler.php b/scripts/jabberqueuehandler.php index 196b3bf6bf..59cdb94ad7 100755 --- a/scripts/jabberqueuehandler.php +++ b/scripts/jabberqueuehandler.php @@ -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); } }