X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/6745a128c318e72b520545f54de46ec6e43f6a82..3d4e4ec4af3d2ba1eb9d7bece2361ddd56d5c7ca:/api/common_api.php diff --git a/api/common_api.php b/api/common_api.php index b29e282..44e9ab9 100644 --- a/api/common_api.php +++ b/api/common_api.php @@ -57,7 +57,8 @@ function flush_completely() } } -flush_completely(); +if (!defined('NO_EVENT_STREAM_HEADER')) + flush_completely(); /* Send server-sent events (SSE) message */ function send_sse($json)