ChanServ: add SET URL channel homepage
Founders can attach a homepage URL to a channel; it shows in INFO and clears when set empty, mirroring SET DESC. Local-scope (channel metadata), not gossiped, consistent with the entrymsg/description events.
This commit is contained in:
parent
053f8cf832
commit
7eb1adce5e
10 changed files with 52 additions and 5 deletions
|
|
@ -419,6 +419,9 @@ pub struct ChannelInfo {
|
|||
// Message noticed to users as they join.
|
||||
#[serde(default)]
|
||||
pub entrymsg: String,
|
||||
// Channel homepage URL, shown in INFO (empty = none).
|
||||
#[serde(default)]
|
||||
pub url: String,
|
||||
// On/off options set via ChanServ SET.
|
||||
#[serde(default)]
|
||||
pub settings: ChanSettings,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue