changeset 6737 | ce5fbd98370f |
parent 6735 | 050237b1500f |
child 6739 | 97dab041f995 |
--- a/QTfrontend/net/newnetclient.cpp Thu Feb 23 23:13:48 2012 +0400 +++ b/QTfrontend/net/newnetclient.cpp Fri Feb 24 23:49:31 2012 +0400 @@ -254,6 +254,10 @@ { // TODO: Warn user, disconnect qWarning() << "Server too old"; + RawSendNet(QString("QUIT%1%2").arg(delimeter).arg("Server too old")); + Disconnect(); + emit disconnected(tr("The server is too old. Disconnecting now.")); + return; } RawSendNet(QString("NICK%1%2").arg(delimeter).arg(mynick));