X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fircparser.cpp;h=b372e35106d935f40580b7b6e34a1b527946d4a6;hp=7811e05de38a80c07f643ed7b54a2cb3c97c9bef;hb=393ac8b4bca9db98f297cb4756ef2e79364bf6f0;hpb=bb751e3ca71381c96f40974d574d0f317670fda6 diff --git a/src/core/ircparser.cpp b/src/core/ircparser.cpp index 7811e05d..b372e351 100644 --- a/src/core/ircparser.cpp +++ b/src/core/ircparser.cpp @@ -50,6 +50,9 @@ QByteArray IrcParser::decrypt(Network *network, const QString &bufferName, const if(message.isEmpty()) return message; + if(!Cipher::neededFeaturesAvailable()) + return message; + Cipher *cipher = qobject_cast(network)->cipher(bufferName); if(!cipher) return message;