Skip to content

Commit

Permalink
Code clean up.
Browse files Browse the repository at this point in the history
Signed-off-by: Presti <dxssucuk@hotmail.com>
  • Loading branch information
DxsSucuk committed Oct 10, 2024
1 parent 9cc988a commit c880360
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ public void run() {

@Override
public void unload() {

twitchChannels.forEach(channel -> {
Main.getInstance().getNotifier().getTwitchClient().getClientHelper().disableStreamEventListener(channel.getIdentifier());
Main.getInstance().getNotifier().getTwitchClient().getClientHelper().disableFollowEventListener(channel.getIdentifier());
});
}

@Override
Expand Down

0 comments on commit c880360

Please sign in to comment.