X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=cd636321e9a6011beb689020dcb5088e317e3572;hb=6fd9179fdc42d12a386fda67af401dff8d6d76d0;hp=7f76780322b5dc605bc1db808acd1150d18d63dd;hpb=6e809da10b3d23b882726204c1692682e76ce210;p=quassel.git diff --git a/src/core/core.cpp b/src/core/core.cpp index 7f767803..cd636321 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -386,8 +386,8 @@ void Core::processClientMessage(QTcpSocket *socket, const QVariantMap &msg) { QVariantMap reply; // Just version information -- check it! - if(msg.contains("ClientBuild") && msg["ClientBuild"].toUInt() < 732 - || !msg.contains("ClientBuild") && msg["ProtocolVersion"].toUInt() < Global::coreNeedsProtocol) { + if((msg.contains("ClientBuild") && msg["ClientBuild"].toUInt() < 732) + || (!msg.contains("ClientBuild") && msg["ProtocolVersion"].toUInt() < Global::coreNeedsProtocol)) { reply["MsgType"] = "ClientInitReject"; reply["Error"] = tr("Your Quassel Client is too old!
" "This core needs at least client/core protocol version %1.
"