operprefix + ojoin: server oper prefix (!/mode y, above owner) auto-granted to opers + OJOIN command
This commit is contained in:
parent
8ebb106f97
commit
1dd7f77ca8
106 changed files with 687 additions and 711 deletions
|
|
@ -2,9 +2,7 @@
|
|||
//! are in. `+b j:#lobby` bans everyone who is also in `#lobby`; an optional status
|
||||
//! prefix narrows it to members at/above that rank, e.g. `+b j:@#staff` matches
|
||||
//! only ops-or-higher in `#staff`. The channel part is a glob. Dispatched from the
|
||||
//! channel ban matcher; the logic lives here in its own file.
|
||||
//!
|
||||
//! Behaviour reference: InspIRCd's `m_channelban`. Original native Rust.
|
||||
//! channel ban matcher.
|
||||
|
||||
use crate::channels::{glob_match, RANK_ADMIN, RANK_HALFOP, RANK_OP, RANK_OWNER, RANK_VOICE};
|
||||
use crate::server::Server;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue