Skip to content

Commit

Permalink
Fix #44
Browse files Browse the repository at this point in the history
  • Loading branch information
Gikkman committed Jan 15, 2022
1 parent aa825b1 commit c401791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/gikk/twirk/TwirkBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class TwirkBuilder {
* @param oauth The bot's IRC oAuth token (on Twitch)
*/
public TwirkBuilder(String channel, String nick, String oauth){
this.channel = channel.startsWith("#") ? channel : "#" + channel;
this.channel = (channel.startsWith("#") ? channel : "#" + channel).toLowerCase();
this.nick = nick;
this.oauth = oauth;
}
Expand Down

0 comments on commit c401791

Please sign in to comment.