From 0956f49004f145d30416ebe5c7c2d6391fae00c6 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 1 Apr 2023 00:27:33 +0700 Subject: [PATCH] Replaced banned message to native --- library/includes/sessions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/includes/sessions.php b/library/includes/sessions.php index 25cabaf3..eaa01c67 100644 --- a/library/includes/sessions.php +++ b/library/includes/sessions.php @@ -216,7 +216,7 @@ function session_start ($cfg = array()) */ function session_create ($userdata, $auto_created = false) { - global $bb_cfg; + global $bb_cfg, $lang; $this->data = $userdata; $session_id = $this->sessiondata['sid']; @@ -238,7 +238,7 @@ function session_create ($userdata, $auto_created = false) if (DB()->fetch_row($sql)) { - header('Location: https://torrentpier.com/banned/'); + bb_simple_die($lang['YOU_BEEN_BANNED']); } }