projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
41dc0f5
)
debug_output++
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 8 Apr 2008 09:07:42 +0000
(09:07 +0000)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 8 Apr 2008 09:07:42 +0000
(09:07 +0000)
src/core/networkconnection.cpp
patch
|
blob
|
history
diff --git
a/src/core/networkconnection.cpp
b/src/core/networkconnection.cpp
index
43749bc
..
79c6c04
100644
(file)
--- 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
_previousConnectionAttemptFailed = false;
_lastUsedServerlistIndex = 0;
// TODO make configurable
- _whoTimer.setInterval(
6
0 * 1000);
+ _whoTimer.setInterval(
9
0 * 1000);
_whoTimer.setSingleShot(false);
QHash<QString, QString> channels = coreSession()->persistentChannels(networkId());
_whoTimer.setSingleShot(false);
QHash<QString, QString> channels = coreSession()->persistentChannels(networkId());
@@
-234,8
+234,10
@@
void NetworkConnection::networkInitialized(const QString ¤tServer) {
setConnectionState(Network::Initialized);
network()->setConnected(true);
emit connected(networkId());
setConnectionState(Network::Initialized);
network()->setConnected(true);
emit connected(networkId());
- sendWho();
- _whoTimer.start();
+ if(!Global::SPUTDEV) {
+ sendWho();
+ _whoTimer.start();
+ }
}
void NetworkConnection::sendPerform() {
}
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);
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) {
}
void NetworkConnection::putCmd(const QString &cmd, const QVariantList ¶ms, const QByteArray &prefix) {