From: Brion Vibber Date: Fri, 15 Jan 2010 01:14:41 +0000 (-0800) Subject: fix for --skip-xmpp hack -- forgot to do it on the ping & confirm handlers X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=038287c1ffb71207f8028014f20005483364956d;p=quix0rs-gnu-social.git fix for --skip-xmpp hack -- forgot to do it on the ping & confirm handlers --- diff --git a/lib/iomaster.php b/lib/iomaster.php index 5d1071a392..ce77b53b2e 100644 --- a/lib/iomaster.php +++ b/lib/iomaster.php @@ -70,7 +70,7 @@ class IoMaster $classes = array(); if (Event::handle('StartIoManagerClasses', array(&$classes))) { $classes[] = 'QueueManager'; - if (common_config('xmpp', 'enabled')) { + if (common_config('xmpp', 'enabled') && !defined('XMPP_EMERGENCY_FLAG')) { $classes[] = 'XmppManager'; // handles pings/reconnects $classes[] = 'XmppConfirmManager'; // polls for outgoing confirmations }