Skip to content

Commit

Permalink
Small changes to Twitch sendHTTPRequest error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
zorael committed Jan 24, 2024
1 parent 86e8935 commit 8080ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/kameloso/plugins/twitch/api.d
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ in (url.length, "Tried to send an HTTP request without a URL")
{
throw new EmptyResponseException("No response");
}
else if (response.code < 10)
else if (response.code < 200)
{
throw new TwitchQueryException(
response.error,
Expand Down

0 comments on commit 8080ad0

Please sign in to comment.