diff options
Diffstat (limited to 'includes/banner.inc')
-rw-r--r-- | includes/banner.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/includes/banner.inc b/includes/banner.inc index 4678a5a..1d33b43 100644 --- a/includes/banner.inc +++ b/includes/banner.inc @@ -66,7 +66,11 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { $prefixes = []; foreach ($member['proxy_tags'] as $proxy) { if ($travelling[$member['id']]["travelling"]) { - $prefixes[] = "+" . $proxy["prefix"] . ($proxy["suffix"] !== "" && $proxy["suffix"] !== null ? "..." . $proxy["suffix"] : ""); + if (isset($travelling[$member['id']]['equestria']) && $travelling[$member['id']]['equestria']) { + $prefixes[] = null; + } else { + $prefixes[] = "+" . $proxy["prefix"] . ($proxy["suffix"] !== "" && $proxy["suffix"] !== null ? "..." . $proxy["suffix"] : ""); + } } else { $prefixes[] = $proxy["prefix"] . ($proxy["suffix"] !== "" && $proxy["suffix"] !== null ? "..." . $proxy["suffix"] : ""); } |