diff --git a/src/macro-external/twitch/macro-action-twitch.cpp b/src/macro-external/twitch/macro-action-twitch.cpp index 96addb5b..8fbeb2b4 100644 --- a/src/macro-external/twitch/macro-action-twitch.cpp +++ b/src/macro-external/twitch/macro-action-twitch.cpp @@ -330,6 +330,9 @@ bool MacroActionTwitch::ActionIsSupportedByToken() } auto option = requiredOption.find(_action); assert(option != requiredOption.end()); + if (option == requiredOption.end()) { + return false; + } return token->OptionIsEnabled(option->second); }