diff --git a/plugins/twitch/points-reward-selection.cpp b/plugins/twitch/points-reward-selection.cpp index 68aed060..28163604 100644 --- a/plugins/twitch/points-reward-selection.cpp +++ b/plugins/twitch/points-reward-selection.cpp @@ -72,7 +72,7 @@ void TwitchPointsRewardSelection::PopulateSelection() { auto token = _token.lock(); - if (!token || !token->AnyOptionIsEnabled(SUPPORTED_TOKEN_OPTIONS)) { + if (!token || !token->AnyOptionIsEnabled(_supportedTokenOptions)) { DisplayErrorMessage(obs_module_text( "AdvSceneSwitcher.twitch.selection.points.reward.tooltip.noPermission")); return; diff --git a/plugins/twitch/points-reward-selection.hpp b/plugins/twitch/points-reward-selection.hpp index 4ecd53fb..0ce41ae7 100644 --- a/plugins/twitch/points-reward-selection.hpp +++ b/plugins/twitch/points-reward-selection.hpp @@ -41,7 +41,7 @@ private: std::vector ParseResponse(obs_data_t *response); bool _allowAny; - const std::vector SUPPORTED_TOKEN_OPTIONS = { + const std::vector _supportedTokenOptions = { {"channel:read:redemptions"}, {"channel:manage:redemptions"}};