nickserv: drop needless borrow on SAREGISTER alert text (clippy needless_borrows_for_generic_args)
Some checks failed
CI / check (push) Failing after 32s

This commit is contained in:
Jean Chevronnet 2026-08-26 17:59:23 +00:00
parent ce8fdb9d5f
commit bfcefdb83b
No known key found for this signature in database
GPG key ID: 439666D63A9477E4

View file

@ -36,7 +36,7 @@ pub fn handle(me: &str, from: &Sender, args: &[&str], ctx: &mut ServiceCtx, db:
return;
}
}
ctx.alert("SAREGISTER", &format!("created account {account}"));
ctx.alert("SAREGISTER", format!("created account {account}"));
// The engine derives the password off-thread, commits the account as verified,
// and NOTICEs the operator via the Admin reply (see engine::reg_reply).
ctx.defer_register(