X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fnetworkconnection.h;h=9b4126d02c108d59c67170e71097a0e8a1fe2729;hp=0745e9ef77bf912fe62b3bfcdb30b4fced7b110b;hb=2f515f5ea173837eae501292c45af69793da6d60;hpb=a2bf6dec2ea5a72d15a3310f8a7abc11988228c4 diff --git a/src/core/networkconnection.h b/src/core/networkconnection.h index 0745e9ef..9b4126d0 100644 --- a/src/core/networkconnection.h +++ b/src/core/networkconnection.h @@ -86,7 +86,7 @@ public: inline QString channelKey(const QString &channel) const { return _channelKeys.value(channel.toLower(), QString()); } inline QStringList persistentChannels() const { return _channelKeys.keys(); } - inline bool isAutoWhoInProgress(const QString &channel) const { return _autoWhoInProgress.contains(channel); } + inline bool isAutoWhoInProgress(const QString &channel) const { return _autoWhoInProgress.value(channel.toLower(), 0); } public slots: // void setServerOptions(); @@ -176,7 +176,7 @@ private: bool _autoWhoEnabled; QStringList _autoWhoQueue; - QSet _autoWhoInProgress; + QHash _autoWhoInProgress; int _autoWhoInterval; int _autoWhoNickLimit; int _autoWhoDelay;