X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fmessagefilter.h;h=81fa3ff6bcb01c1664de4ff2acbe8e0820204a99;hb=48dda5f3e963e13e36300ddaef262660bf169672;hp=5354feb03588cd3da02b6f9e5d65dec4cf445686;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce;p=quassel.git diff --git a/src/client/messagefilter.h b/src/client/messagefilter.h index 5354feb0..81fa3ff6 100644 --- a/src/client/messagefilter.h +++ b/src/client/messagefilter.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,13 +15,14 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef MESSAGEFILTER_H_ #define MESSAGEFILTER_H_ #include +#include #include "bufferinfo.h" #include "client.h" @@ -62,7 +63,7 @@ private: void init(); QSet _validBuffers; - QMultiHash _filteredQuitMsgs; + std::set _filteredQuitMsgTime; ///< Timestamps (ms) of already forwarded quit messages int _messageTypeFilter; int _userNoticesTarget;