Selaa lähdekoodia

darkirc/irc/server: don't log channel decrypt failure

skoupidi 1 vuosi sitten
vanhempi
sitoutus
569586b7cb
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      bin/darkirc/src/irc/server.rs

+ 0 - 2
bin/darkirc/src/irc/server.rs

@@ -333,7 +333,6 @@ impl IrcServer {
             let Some(saltbox) = &channel.saltbox else { continue };
             let Some(saltbox) = &channel.saltbox else { continue };
 
 
             if saltbox::try_decrypt(saltbox, &channel_ciphertext).is_none() {
             if saltbox::try_decrypt(saltbox, &channel_ciphertext).is_none() {
-                warn!(target: "darkirc::irc::server::try_decrypt", "Could not decrypt channel ciphertext for channel: {name}");
                 continue
                 continue
             };
             };
 
 
@@ -360,7 +359,6 @@ impl IrcServer {
             let Some(saltbox) = &contact.saltbox else { continue };
             let Some(saltbox) = &contact.saltbox else { continue };
 
 
             if saltbox::try_decrypt(saltbox, &channel_ciphertext).is_none() {
             if saltbox::try_decrypt(saltbox, &channel_ciphertext).is_none() {
-                warn!(target: "darkirc::irc::server::try_decrypt", "Could not decrypt channel ciphertext for contact: {name}");
                 continue
                 continue
             };
             };