Auto-op the founder on join
Surface channel joins (FJOIN members, stripping the membid, and IJOIN) and set +o for a joining user who is identified as the channel's founder.
This commit is contained in:
parent
353aee1b54
commit
e785c9d8ac
3 changed files with 75 additions and 7 deletions
|
|
@ -15,6 +15,8 @@ pub enum NetEvent {
|
|||
// A channel was created or bursted (InspIRCd FJOIN). Subsequent single joins
|
||||
// arrive as IJOIN and are not surfaced.
|
||||
ChannelCreate { channel: String },
|
||||
// A user joined a channel (an FJOIN member or an IJOIN), for auto-op.
|
||||
Join { uid: String, channel: String },
|
||||
// A channel's modes changed (FMODE), for enforcing mode locks. Our own
|
||||
// changes are filtered out by the protocol layer.
|
||||
ChannelModeChange { channel: String, modes: String },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue