fix lambda captures

This commit is contained in:
moe-ka
2019-02-27 19:26:19 +00:00
committed by moka
parent 3ddac8b12a
commit 8516082191
2 changed files with 3 additions and 3 deletions
@@ -212,7 +212,7 @@ QString CommandController::execCommand(const QString &textNoEmoji,
if (getSettings()->inlineWhispers)
{
app->twitch.server->forEachChannel(
[&messagexD, &overrideFlags](ChannelPtr _channel) {
[&messagexD, overrideFlags](ChannelPtr _channel) {
_channel->addMessage(messagexD, overrideFlags);
});
}