Style tweaks

This commit is contained in:
swagg boi 2021-12-21 23:09:35 -05:00
parent 453c066abf
commit 76d7e75eb8

View file

@ -41,7 +41,7 @@ sub view_posts($self, $this_page, $last_page = undef, @posts) {
}
sub max_posts($self, $value = undef) {
$self->{'max_posts'} = $value ? $value : $self->{'max_posts'}
$self->{'max_posts'} = $value // $self->{'max_posts'}
}
sub get_last_page($self, @posts) {