Skip to content
Browse files

always have a "next day" link if the next day is today

  • Loading branch information...
1 parent 7677bd0 commit 038c4d3f5c82eb522fafcf113da3ffc3b2a5921f @moritz committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 cgi/out.pl
View
2 cgi/out.pl
@@ -219,7 +219,7 @@ sub irclog_output {
my $tomorrow = date($date) + 1;
$q1->execute($full_channel, $tomorrow);
my ($res) = $q1->fetchrow_array();
- if ($res){
+ if ($res || $tomorrow eq gmt_today()){
my $next_url = $base_url . "$channel/$tomorrow";
# where the hell does the leading double slash come from?
$next_url =~ s{^//+}{/};

0 comments on commit 038c4d3

Please sign in to comment.
Something went wrong with that request. Please try again.