Replaced banned message to native (#86)

This commit is contained in:
Roman Kelesidis 2023-04-01 00:27:52 +07:00 committed by GitHub
parent 3c8b5535c5
commit da24040193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,7 +216,7 @@ class user_common
*/
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 @@ class user_common
if (DB()->fetch_row($sql))
{
header('Location: https://torrentpier.com/banned/');
bb_simple_die($lang['YOU_BEEN_BANNED']);
}
}