From: Manuel Nickschas Date: Tue, 8 Apr 2008 09:07:42 +0000 (+0000) Subject: debug_output++ X-Git-Tag: 0.2.0-alpha5~9 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=1e89816f3a0fbc6c6045ee244df752bd4f403aec;ds=sidebyside debug_output++ --- diff --git a/src/core/networkconnection.cpp b/src/core/networkconnection.cpp index 43749bcd..79c6c043 100644 --- a/src/core/networkconnection.cpp +++ b/src/core/networkconnection.cpp @@ -49,7 +49,7 @@ NetworkConnection::NetworkConnection(Network *network, CoreSession *session) : Q _previousConnectionAttemptFailed = false; _lastUsedServerlistIndex = 0; // TODO make configurable - _whoTimer.setInterval(60 * 1000); + _whoTimer.setInterval(90 * 1000); _whoTimer.setSingleShot(false); QHash channels = coreSession()->persistentChannels(networkId()); @@ -234,8 +234,10 @@ void NetworkConnection::networkInitialized(const QString ¤tServer) { setConnectionState(Network::Initialized); network()->setConnected(true); emit connected(networkId()); - sendWho(); - _whoTimer.start(); + if(!Global::SPUTDEV) { + sendWho(); + _whoTimer.start(); + } } void NetworkConnection::sendPerform() { @@ -405,6 +407,7 @@ void NetworkConnection::userInput(BufferInfo buf, QString msg) { 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) {