|
@@ -640,11 +640,14 @@ void App::incrementReplyCounters(const QString &hash, int userCount, int channel
|
|
}
|
|
}
|
|
|
|
|
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
-void App::requestCachedHostNames() const
|
|
|
|
|
|
+void App::requestCachedHostNames()
|
|
{
|
|
{
|
|
ActiveClient* ac;
|
|
ActiveClient* ac;
|
|
foreach(ac, myClients)
|
|
foreach(ac, myClients)
|
|
|
|
+ {
|
|
|
|
+ print("Requested HostName for server " + ac->serverAddressString() + "\n");
|
|
mySshClient->write("REQ_DNS " + ac->serverAddressString() + "\n");
|
|
mySshClient->write("REQ_DNS " + ac->serverAddressString() + "\n");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
@@ -655,7 +658,7 @@ void App::setServerHostName(const QString &serverAddress, const QString &hostNam
|
|
{
|
|
{
|
|
if(ac->serverAddressString() == serverAddress)
|
|
if(ac->serverAddressString() == serverAddress)
|
|
{
|
|
{
|
|
- qDebug() << serverAddress << hostName;
|
|
|
|
|
|
+ print("HostName for " + serverAddress + " set to " + hostName + "\n");
|
|
ac->setHostName(hostName);
|
|
ac->setHostName(hostName);
|
|
return;
|
|
return;
|
|
}
|
|
}
|