NickServ: add SET HIDE STATUS for last-seen privacy
Lets an account keep its last-seen/online line in INFO visible only to itself and to opers. Default stays public (Anope's default). Accepts STATUS (with USERMASK as an alias) per Anope's SET HIDE <field> grammar.
This commit is contained in:
parent
39d7421c06
commit
053f8cf832
12 changed files with 116 additions and 19 deletions
|
|
@ -101,6 +101,11 @@ pub struct Account {
|
|||
// inverted so the default (protection enabled) is the zero value.
|
||||
#[serde(default)]
|
||||
pub no_protect: bool,
|
||||
// NickServ SET HIDE STATUS: when set, the last-seen / online line in INFO is
|
||||
// shown only to the account's owner and to opers, not to other users. Default
|
||||
// (visible) is the zero value.
|
||||
#[serde(default)]
|
||||
pub hide_status: bool,
|
||||
// Assigned vhost (HostServ), applied to the displayed host on identify.
|
||||
#[serde(default)]
|
||||
pub vhost: Option<Vhost>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue