From ed1125c4866bb078b366c09ff39f2036c36cbff5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 25 May 2019 04:34:20 +0000 Subject: msgmap: remove double negative I have never not found double negatives to be confusing... --- lib/PublicInbox/Msgmap.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/Msgmap.pm b/lib/PublicInbox/Msgmap.pm index d474bade..0035c9e3 100644 --- a/lib/PublicInbox/Msgmap.pm +++ b/lib/PublicInbox/Msgmap.pm @@ -130,7 +130,7 @@ INSERT OR IGNORE INTO msgmap (mid) VALUES (?) return if $sth->execute($mid) == 0; my $num = $dbh->last_insert_id(undef, undef, 'msgmap', 'num'); - $self->num_highwater($num) unless !defined($num); + $self->num_highwater($num) if defined($num); $num; } -- cgit v1.2.3-24-ge0c7