Skip to content

Commit

Permalink
twitchviewers: If we can't get mods, just leave 'em in the viewers se…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
Rosuav committed Jun 29, 2023
1 parent 00b8bde commit 989c831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitchviewers.pike
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int main(int argc, array(string) argv)
"Client-ID": ircsettings->clientid,
"Authorization": "Bearer " + oauth_token,
]),
))->data;
) || "{\"data\":[]}")->data;
foreach (mods, mapping mod) moderators[mod->user_id] = 1;
GTK2.setup_gtk();
object win = GTK2.Window((["resizable": 0, "title": "Viewers on " + username + "'s stream", "decorated": 0]))
Expand Down

0 comments on commit 989c831

Please sign in to comment.