X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fnetworkconnection.h;h=c28da180a58383ad3ae88b594d1243bd82a80634;hb=6ca804505c512deff72ff43533fa1d5ea0a3416a;hp=16bfccc4223e92c919960784e80713907ad1cd32;hpb=72d23cc04e32bfc166720f9b7ecaf4f53e63ec5e;p=quassel.git diff --git a/src/core/networkconnection.h b/src/core/networkconnection.h index 16bfccc4..c28da180 100644 --- a/src/core/networkconnection.h +++ b/src/core/networkconnection.h @@ -95,7 +95,8 @@ public slots: void userInput(BufferInfo bufferInfo, QString msg); void putRawLine(QByteArray input); - void putCmd(const QString &cmd, const QVariantList ¶ms, const QByteArray &prefix = QByteArray()); + int lastParamOverrun(const QString &cmd, const QList ¶ms); + void putCmd(const QString &cmd, const QList ¶ms, const QByteArray &prefix = QByteArray()); void setChannelJoined(const QString &channel); void setChannelParted(const QString &channel); @@ -194,8 +195,6 @@ private: int _tokenBucket; // the virtual bucket that holds the tokens QList _msgQueue; - int _maxMsgSize; - void writeToSocket(QByteArray s);