version 1.344.2.8.2.2, 2018/01/25 20:15:50
|
version 1.344.2.8.4.3, 2019/02/19 15:38:36
|
Line 260 sub check_slot_access {
|
Line 260 sub check_slot_access {
|
$num_usable_slots ++; |
$num_usable_slots ++; |
if ($slot{'starttime'} < $now && |
if ($slot{'starttime'} < $now && |
$slot{'endtime'} > $now && |
$slot{'endtime'} > $now && |
&Apache::loncommon::check_ip_acc($slot{'ip'})) { |
&Apache::loncommon::check_slotip_acc($slot{'ip'})) { |
&Apache::lonxml::debug("$slot is good"); |
&Apache::lonxml::debug("$slot is good"); |
$slotstatus='NEEDS_CHECKIN'; |
$slotstatus='NEEDS_CHECKIN'; |
$returned_slot=\%slot; |
$returned_slot=\%slot; |