summaryrefslogtreecommitdiff
path: root/pages/api/pleasure-real.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/api/pleasure-real.php')
-rw-r--r--pages/api/pleasure-real.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/pages/api/pleasure-real.php b/pages/api/pleasure-real.php
index adfe732..c1cbd59 100644
--- a/pages/api/pleasure-real.php
+++ b/pages/api/pleasure-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");
@@ -16,9 +15,9 @@ $frontMoonglow = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/inc
if ($_PROFILE["login"] === "raindrops" && isset($frontRaindrops[0])) {
$pony = $frontRaindrops[0]["display_name"] ?? $frontRaindrops[0]["name"];
-} else if ($_PROFILE["login"] === "Moonwind" && isset($frontMoonglow[0])) {
+} else if ($_PROFILE["login"] === "Moonglow" && isset($frontMoonglow[0])) {
$pony = $frontMoonglow[0]["display_name"] ?? $frontMoonglow[0]["name"];
-} else if ($_PROFILE["login"] !== "raindrops" && $_PROFILE["login"] !== "Moonwind" && isset($frontOther[0])) {
+} else if ($_PROFILE["login"] !== "raindrops" && $_PROFILE["login"] !== "Moonglow" && isset($frontOther[0])) {
$pony = $frontOther[0]["display_name"] ?? $frontOther[0]["name"];
} else {
$pony = "somepony";