Add NickServ LOGOUT command
Clears the account (RPL_LOGGEDOUT) and renames the user to a configurable guest nick (default Guest) via SVSNICK.
This commit is contained in:
parent
a382ac8ad3
commit
60fc687162
7 changed files with 77 additions and 2 deletions
|
|
@ -34,6 +34,8 @@ async fn main() -> Result<()> {
|
|||
|
||||
let services: Vec<Box<dyn engine::service::Service>> = vec![Box::new(NickServ {
|
||||
uid: format!("{}AAAAAA", cfg.server.sid),
|
||||
guest_nick: cfg.server.guest_nick.clone(),
|
||||
guest_seq: (ts % 100_000) as u32,
|
||||
})];
|
||||
let mut db = engine::db::Db::open("fedserv.db.jsonl");
|
||||
db.scram_iterations = cfg.server.scram_iterations;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue