More accurate name for flag (MessageFlag::DoNotLog), disable logging for
sent whispers.
This commit is contained in:
@@ -72,7 +72,7 @@ void Channel::addMessage(MessagePtr message,
|
||||
}
|
||||
|
||||
// FOURTF: change this when adding more providers
|
||||
if (this->isTwitchChannel() && !overridingFlags->has(MessageFlag::Whisper))
|
||||
if (this->isTwitchChannel() && !overridingFlags->has(MessageFlag::DoNotLog))
|
||||
{
|
||||
app->logging->addMessage(this->name_, message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user