mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
darkirc: Fix some typos
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user