_previousConnectionAttemptFailed = false;
_lastUsedServerlistIndex = 0;
// TODO make configurable
- _whoTimer.setInterval(60 * 1000);
+ _whoTimer.setInterval(90 * 1000);
_whoTimer.setSingleShot(false);
QHash<QString, QString> channels = coreSession()->persistentChannels(networkId());
setConnectionState(Network::Initialized);
network()->setConnected(true);
emit connected(networkId());
- sendWho();
- _whoTimer.start();
+ if(!Global::SPUTDEV) {
+ sendWho();
+ _whoTimer.start();
+ }
}
void NetworkConnection::sendPerform() {
void NetworkConnection::putRawLine(QByteArray s) {
s += "\r\n";
socket.write(s);
+ if(Global::SPUTDEV) qDebug() << "SENT:" << s;
}
void NetworkConnection::putCmd(const QString &cmd, const QVariantList ¶ms, const QByteArray &prefix) {