summaryrefslogtreecommitdiff
path: root/pages/api/emergency-real.php
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2024-01-13 16:12:11 +0100
committerRaindropsSys <raindrops@equestria.dev>2024-01-13 16:12:11 +0100
commit2b192b3840ac344c456b98304ea400f0af90da15 (patch)
tree081ba8cbc0add17f08c9b94fb4a830834d87c259 /pages/api/emergency-real.php
parent2bfdb0ab2e366007269d1b77446f1581801e05dc (diff)
downloadpluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.tar.gz
pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.tar.bz2
pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.zip
Updated 46 files and deleted 19 files (automated)
Diffstat (limited to 'pages/api/emergency-real.php')
-rw-r--r--pages/api/emergency-real.php2
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([