Track login state and nick changes in NickServ
This commit is contained in:
parent
60fc687162
commit
65729a62b8
6 changed files with 150 additions and 5 deletions
|
|
@ -1,10 +1,12 @@
|
|||
use crate::engine::db::Db;
|
||||
use crate::proto::{NetAction, RegReply};
|
||||
|
||||
// Who sent the command, resolved by the engine (UID + current nick).
|
||||
// Who sent the command, resolved by the engine (UID + current nick + the
|
||||
// account they are identified to, if any).
|
||||
pub struct Sender<'a> {
|
||||
pub uid: &'a str,
|
||||
pub nick: &'a str,
|
||||
pub account: Option<&'a str>,
|
||||
}
|
||||
|
||||
// A pseudo-client (NickServ, ChanServ, ...). Introduced at burst, receives the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue