X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex_wr.php;h=58c4ccb5c6fc852be4937e2bb44b93c278ba6c72;hb=db7f0cc6514cef0d5009a7a69ba49303bbf9e2db;hp=d19e920b19d82a5bbbab2285fac3c6550e064dac;hpb=6a853bb663b317f03d6feb5ea2ae113221f34154;p=brisk.git diff --git a/web/briskin5/index_wr.php b/web/briskin5/index_wr.php index d19e920..58c4ccb 100644 --- a/web/briskin5/index_wr.php +++ b/web/briskin5/index_wr.php @@ -120,8 +120,12 @@ else if ($user->stat == 'table') { $logout_cont = FALSE; } } - else - $user->bantime = $user->laccwr + BAN_TIME; + else { + require_once("../Obj/hardban.phh"); + Hardbans::add(($user->flags & USER_FLAG_AUTH ? $user->name : FALSE), + $user->ip, $user->sess, $user->laccwr + BAN_TIME); + } + // $user->bantime = $user->laccwr + BAN_TIME; if ($logout_cont == TRUE) { $bri->table_wakeup(&$user);