darkirc: Fix some typos

This commit is contained in:
parazyd
2023-07-19 17:36:35 +02:00
parent 5b21ae1c4a
commit 3c24d42f0e
2 changed files with 3 additions and 3 deletions

View File

@@ -223,11 +223,11 @@ impl<C: AsyncRead + AsyncWrite + Send + Unpin + 'static> IrcClient<C> {
_ => warn!("[CLIENT {}] Unimplemented `{}` command", self.address, command),
}
self.registre().await?;
self.register().await?;
Ok(())
}
async fn registre(&mut self) -> Result<()> {
async fn register(&mut self) -> Result<()> {
if !self.irc_config.is_pass_init && self.irc_config.password.is_empty() {
self.irc_config.is_pass_init = true
}

View File

@@ -278,7 +278,7 @@ impl IrcServer {
let listener = TcpListener::bind(listenaddr).await?;
let acceptor = match self.settings.irc_listen.scheme() {
"tls" => {
"tcp+tls" => {
// openssl genpkey -algorithm ED25519 > example.com.key
// openssl req -new -out example.com.csr -key example.com.key
// openssl x509 -req -days 700 -in example.com.csr -signkey example.com.key -out example.com.crt