diff options
author | Eric Wong <e@80x24.org> | 2019-05-25 04:34:20 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-25 04:36:14 +0000 |
commit | ed1125c4866bb078b366c09ff39f2036c36cbff5 (patch) | |
tree | 08fd6a04cfc9e03394e10b169a2620d3ffce7c63 /lib/PublicInbox/Msgmap.pm | |
parent | 2c569ea74232c381e6bf43c192e970b012245fa9 (diff) | |
download | public-inbox-ed1125c4866bb078b366c09ff39f2036c36cbff5.tar.gz |
I have never not found double negatives to be confusing...
Diffstat (limited to 'lib/PublicInbox/Msgmap.pm')
-rw-r--r-- | lib/PublicInbox/Msgmap.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |