X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fignorelistmanager.h;h=d5a1c8aedf08b8e6e829023a2a154e2a222984a4;hb=74226102118400b228618f7373137a4a01e7d85f;hp=b1158d9c15f25bef9a3fb9b5bbabdc6c0a5e1959;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c;p=quassel.git diff --git a/src/common/ignorelistmanager.h b/src/common/ignorelistmanager.h index b1158d9c..d5a1c8ae 100644 --- a/src/common/ignorelistmanager.h +++ b/src/common/ignorelistmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 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 * @@ -26,6 +26,8 @@ #include "message.h" #include "syncableobject.h" +// Scope matching +#include "util.h" class IgnoreListManager : public SyncableObject { @@ -147,7 +149,6 @@ public slots: protected: void setIgnoreList(const QList &ignoreList) { _ignoreList = ignoreList; } - bool scopeMatch(const QString &scopeRule, const QString &string) const; // scopeRule is a ';'-separated list, string is a network/channel-name StrictnessType _match(const QString &msgContents, const QString &msgSender, Message::Type msgType, const QString &network, const QString &bufferName);