exemptchanops +X: per-rank exemptions from flood/anticaps/repeat/censor/blockcolor/etc
This commit is contained in:
parent
789c2ca14f
commit
80cc61e7f8
6 changed files with 74 additions and 22 deletions
|
|
@ -42,6 +42,7 @@ impl Module for ReputationMod {
|
|||
*e = (*e + 1).min(REP_CAP);
|
||||
}
|
||||
self.ticks += 1;
|
||||
#[allow(clippy::manual_is_multiple_of)] // is_multiple_of is unstable on our MSRV
|
||||
if self.ticks % SAVE_EVERY == 0 {
|
||||
save(s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue