Remove BaseSettings & merge ConcurrentSettings (#4775)
This commit is contained in:
@@ -14,7 +14,7 @@ bool isIgnoredMessage(IgnoredMessageParameters &¶ms)
|
||||
if (!params.message.isEmpty())
|
||||
{
|
||||
// TODO(pajlada): Do we need to check if the phrase is valid first?
|
||||
auto phrases = getCSettings().ignoredMessages.readOnly();
|
||||
auto phrases = getSettings()->ignoredMessages.readOnly();
|
||||
for (const auto &phrase : *phrases)
|
||||
{
|
||||
if (phrase.isBlock() && phrase.isMatch(params.message))
|
||||
|
||||
Reference in New Issue
Block a user