diff --git a/src/common/Channel.cpp b/src/common/Channel.cpp index c9cdd6923..2b5950dc8 100644 --- a/src/common/Channel.cpp +++ b/src/common/Channel.cpp @@ -72,7 +72,8 @@ void Channel::addMessage(MessagePtr message, } // 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); }