mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
check for none overriding flags
This commit is contained in:
parent
8516082191
commit
26592c082f
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ void Channel::addMessage(MessagePtr message,
|
||||||
}
|
}
|
||||||
|
|
||||||
// FOURTF: change this when adding more providers
|
// FOURTF: change this when adding more providers
|
||||||
if (this->isTwitchChannel() && !overridingFlags->has(MessageFlag::DoNotLog))
|
if (this->isTwitchChannel() &&
|
||||||
|
(!overridingFlags || !overridingFlags->has(MessageFlag::DoNotLog)))
|
||||||
{
|
{
|
||||||
app->logging->addMessage(this->name_, message);
|
app->logging->addMessage(this->name_, message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue