#dev | Logs for 2020-06-17

« return
[01:10:22] -!- chromas has quit [Ping timeout: 265 seconds]
[01:56:29] -!- chromas [chromas!~chromas@Soylent/Staph/Infector/chromas] has joined #dev
[15:21:11] <FatPhil> I thought overrated was supposed to be only applicable to posts that had previously been up-rated? https://soylentnews.org
[16:44:52] <Bytram> FatPhil: Yes, there is *supposed* to be. AFAICT, there needs to be a prior mod for "Overrated" and for "Underrated" according to: ./rehash-master/plugins/Moderation/Moderation.pm
[16:45:50] <Bytram> but, ISTM there is only a check that there has been a mod -- of any kind. Could be mistaken.
[16:46:30] <Bytram> Lines 121 and following:
[16:46:32] <Bytram> if( $reasons->{$reason}{needs_prior_mod} != 0 &&
[16:46:32] <Bytram> !$self->hasBeenModerated($cid) &&
[16:46:32] <Bytram> !$superAuthor ) {
[16:46:32] <Bytram> return -5;
[16:46:34] <Bytram> }
[17:00:09] <Bytram> TheMightyBuzzard: FYI: ^^^
[17:28:59] <FatPhil> Yeah, looks like someone didn't apply the patch that I created, and rolled their own instead...