]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix for --skip-xmpp hack -- forgot to do it on the ping & confirm handlers
authorBrion Vibber <brion@status.net>
Fri, 15 Jan 2010 01:14:41 +0000 (17:14 -0800)
committerBrion Vibber <brion@status.net>
Fri, 15 Jan 2010 01:14:41 +0000 (17:14 -0800)
lib/iomaster.php

index 5d1071a392c40f4b09ac95db940b3fb46617e4a9..ce77b53b2e6c3f35059bf62ead9ebb007581d099 100644 (file)
@@ -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
                 }