diff options
Diffstat (limited to 'pages/api/emergency-real.php')
-rw-r--r-- | pages/api/emergency-real.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/api/emergency-real.php b/pages/api/emergency-real.php index 700a6a7..04fd56e 100644 --- a/pages/api/emergency-real.php +++ b/pages/api/emergency-real.php @@ -1,7 +1,6 @@ <?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/session.inc"; global $isLoggedIn; global $isLowerLoggedIn; global $_PROFILE; -if ($_PROFILE["login"] === "cloudburst") die(); if (!$isLoggedIn && !$isLowerLoggedIn) { header("Location: /-/login"); @@ -15,6 +14,7 @@ $channels = []; if (isset($_GET["raindrops"])) $channels[] = "emergency-raindrops"; if (isset($_GET["moonglow"])) $channels[] = "emergency-moonglow"; +if (isset($_GET["hailstorm"])) $channels[] = "emergency-hailstorm"; if (isset($_GET[$GLOBALS["ColdHazeApp"]["other"]["slug"]])) $channels[] = "emergency"; $context = stream_context_create([ |