Allow submits before contest_start master
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 30 Jan 2014 15:35:04 +0000 (17:35 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 30 Jan 2014 15:35:04 +0000 (17:35 +0200)
lib/Gruntmaster/Handlers.pm

index 5415b809d61e4e28edbb35c6caf3dec343b0c19c..fd4fd2d7be70fca1d9456890769edb4876f884d6 100644 (file)
@@ -51,7 +51,7 @@ sub submit{
          $prog = $temp if $temp
   }
   die if defined $contest && $contest !~ /^\w+$/ ;
-  die if defined $contest && (time < contest_start $contest || time > contest_end $contest);
+  die if defined $contest && (time > contest_end $contest);
   return aputs 'A required parameter was not supplied' if grep { !defined } $problem, $format, $prog;
 
   local $Gruntmaster::Data::contest = $contest;
This page took 0.01103 seconds and 4 git commands to generate.