projects
/
gruntmaster-handlers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
92065ce
)
Allow submits before contest_start
master
author
Marius Gavrilescu
<marius@ieval.ro>
Thu, 30 Jan 2014 15:35:04 +0000
(17:35 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Thu, 30 Jan 2014 15:35:04 +0000
(17:35 +0200)
lib/Gruntmaster/Handlers.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Handlers.pm
b/lib/Gruntmaster/Handlers.pm
index 5415b809d61e4e28edbb35c6caf3dec343b0c19c..fd4fd2d7be70fca1d9456890769edb4876f884d6 100644
(file)
--- a/
lib/Gruntmaster/Handlers.pm
+++ b/
lib/Gruntmaster/Handlers.pm
@@
-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.011747 seconds
and
4
git commands to generate.