Explorar el Código

* Attempt to flush the server queue immediately when queueing

Bryan Drewery hace 16 años
padre
commit
802a499937
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      src/mod/server.mod/server.c

+ 2 - 3
src/mod/server.mod/server.c

@@ -674,9 +674,8 @@ void queue_server(int which, char *buf, int len)
     }
   }
 
-  if (which == DP_MODE || which == DP_MODE_NEXT)
-    deq_msg();		/* DP_MODE needs to be sent ASAP, flush if
-			   possible. */
+  /* Try flushing immediately */
+  deq_msg();
 }
 
 /* Add a new server to the server_list.