mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Replaced banned message to native (#86)
This commit is contained in:
parent
3c8b5535c5
commit
da24040193
@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user