Skip to content

Commit

Permalink
pointsrewards: Oops - missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosuav committed Oct 27, 2023
1 parent 54d6c77 commit 0c3bc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/http/chan_pointsrewards.pike
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ constant vars_provided = ([
]);

continue mapping|Concurrent.Future message_params(object channel, mapping person, array param) {
string token = yield((object)token_for_user_id_async(channel->userid))[0];
string token = yield((mixed)token_for_user_id_async(channel->userid))[0];
if (token == "") return (["{error}": "Need broadcaster permissions"]);
string reward_id = param[0];
mapping params = ([]);
Expand Down

0 comments on commit 0c3bc22

Please sign in to comment.