LOGIN from an already-identified session reclaims the nick without a needless re-verify
All checks were successful
CI / check (push) Successful in 5m18s
All checks were successful
CI / check (push) Successful in 5m18s
This commit is contained in:
parent
c2a7dfa8f7
commit
7fa7831390
3 changed files with 25 additions and 4 deletions
|
|
@ -114,7 +114,7 @@ impl Service for NickServ {
|
|||
match cmd.as_deref() {
|
||||
Some("REGISTER") => register::handle(me, from, args, ctx, db),
|
||||
Some("IDENTIFY") | Some("ID") => identify::handle(me, from, args, ctx, db),
|
||||
Some("LOGIN") => login::handle(me, from, args, ctx, db),
|
||||
Some("LOGIN") => login::handle(me, &self.guest_nick, &mut self.guest_seq, from, args, ctx, net, db),
|
||||
Some("LOGOUT") | Some("LOGOFF") => logout::handle(me, &self.guest_nick, &mut self.guest_seq, from, ctx, net, db),
|
||||
Some("CERT") => cert::handle(me, from, args, ctx, db),
|
||||
Some("INFO") => info::handle(me, from, args, ctx, net, db),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue