X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.cpp;h=534199e30ad956ed83fbaa21e3a82288b48b4f9a;hp=94854990ee05492669636b9153247d2e06bc9fbe;hb=393ac8b4bca9db98f297cb4756ef2e79364bf6f0;hpb=bb751e3ca71381c96f40974d574d0f317670fda6 diff --git a/src/core/corenetwork.cpp b/src/core/corenetwork.cpp index 94854990..534199e3 100644 --- a/src/core/corenetwork.cpp +++ b/src/core/corenetwork.cpp @@ -275,6 +275,9 @@ Cipher *CoreNetwork::cipher(const QString &target) const { if(target.isEmpty()) return 0; + if(!Cipher::neededFeaturesAvailable()) + return 0; + QByteArray key = cipherKey(target); if(key.isEmpty()) return 0;