projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #746 - Quassel unsets default modes set by server upon first connect
[quassel.git]
/
src
/
core
/
corenetwork.h
diff --git
a/src/core/corenetwork.h
b/src/core/corenetwork.h
index
d32734f
..
a6d3678
100644
(file)
--- a/
src/core/corenetwork.h
+++ b/
src/core/corenetwork.h
@@
-114,6
+114,10
@@
public slots:
bool setAutoWhoDone(const QString &channel);
bool setAutoWhoDone(const QString &channel);
+ void updateIssuedModes(const QString &requestedModes);
+ void updatePersistentModes(QString addModes, QString removeModes);
+ void resetPersistentModes();
+
Server usedServer() const;
inline void resetPingTimeout() { _pingCount = 0; }
Server usedServer() const;
inline void resetPingTimeout() { _pingCount = 0; }
@@
-203,6
+207,8
@@
private:
int _burstSize; // size of the token bucket
int _tokenBucket; // the virtual bucket that holds the tokens
QList<QByteArray> _msgQueue;
int _burstSize; // size of the token bucket
int _tokenBucket; // the virtual bucket that holds the tokens
QList<QByteArray> _msgQueue;
+
+ QString _requestedUserModes; // 2 strings separated by a '-' character. first part are requested modes to add, the second to remove
};
#endif //CORENETWORK_H
};
#endif //CORENETWORK_H