Fix CoreFeatures; disable SASL support if core isn't new enough
[quassel.git] / src / client / coreconnection.cpp
index 460b3b7..f523914 100644 (file)
@@ -474,6 +474,8 @@ void CoreConnection::clientInitAck(const QVariantMap &msg) {
     return;
   }
 
+  Client::setCoreFeatures((Quassel::Features)msg["CoreFeatures"].toUInt());
+
 #ifndef QT_NO_COMPRESS
   if(msg["SupportsCompression"].toBool()) {
     _socket->setProperty("UseCompression", true);