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
|
|
@ -1,12 +1,9 @@
|
|||
//! The module API — echoIRCd's answer to InspIRCd's `Module` class.
|
||||
//!
|
||||
//! Modules hook lifecycle events. "Pre" hooks return a [`ModResult`] and can
|
||||
//! **deny** an action; "notify" hooks are informational. The core fires pre-hooks
|
||||
//! inline (so a `Deny` actually blocks) and notify-hooks from a queue after the
|
||||
//! triggering command finishes — so a handler can emit an event without ever
|
||||
//! touching the module list. All hooks get `&mut Server`, so a module can act
|
||||
//! (send lines, force a join, …), exactly like an InspIRCd module gets the
|
||||
//! `ServerInstance`.
|
||||
//! Module API: modules hook lifecycle events. "Pre" hooks return a [`ModResult`]
|
||||
//! and can **deny** an action; "notify" hooks are informational. The core fires
|
||||
//! pre-hooks inline (so a `Deny` actually blocks) and notify-hooks from a queue
|
||||
//! after the triggering command finishes — so a handler can emit an event without
|
||||
//! ever touching the module list. All hooks get `&mut Server`, so a module can act
|
||||
//! (send lines, force a join, …).
|
||||
|
||||
use crate::server::Server;
|
||||
use crate::Uid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue