reputation: full port — y: score extban (y:<N/y:>N), WHOIS score, +2 for accounts, bump interval/scorecap/minchanmembers config; conn_join/conn_umodes/connbanner/operjoin/opermodes/seenicks/chancreate
This commit is contained in:
parent
64dcbd8bf4
commit
eb121a75f8
6 changed files with 211 additions and 16 deletions
|
|
@ -238,6 +238,15 @@ impl Command for Whois {
|
|||
&format!(":is in security groups: {}", groups.join(", ")),
|
||||
);
|
||||
}
|
||||
// reputation score (opers only, when enabled)
|
||||
if asker_oper && s.rep_whois {
|
||||
let score = crate::modules::reputation::score_of(s, tuid);
|
||||
s.numeric(
|
||||
uid,
|
||||
RPL_WHOISSPECIAL,
|
||||
&format!(":has a reputation score of {score}"),
|
||||
);
|
||||
}
|
||||
// opers can see through the cloak to the real host/ip
|
||||
if asker_oper && disp != realhost {
|
||||
s.numeric(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue