Sfoglia il codice sorgente

Set a default value for isValidCipherText.

Issue #74
Bryan Drewery 10 anni fa
parent
commit
d4ed9d091b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/mod/server.mod/servmsg.cc

+ 2 - 0
src/mod/server.mod/servmsg.cc

@@ -208,6 +208,8 @@ static int check_bind_raw(char *from, char *code, char *msg)
             FishKeys.remove(key_target);
             delete fishData;
           }
+        } else {
+          isValidCipherText = false;
         }
         if (fish_auto_keyx && !isValidCipherText && !target_is_chan) {
           keyx(nick, "Invalid/Unknown key");