Skip to content

Commit 92882d7

Browse files
authored
Merge pull request #5 from Gladrat/master
Fix auth by calling the right variable
2 parents c5e7ea3 + ad0c458 commit 92882d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twitch_listener/listener.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def __init__(self, nickname, oauth, client_id):
2727
# IRC parameters
2828
self._server = "irc.chat.twitch.tv"
2929
self._port = 6667
30-
self._passString = f"PASS " + oauth + f"\n"
31-
self._nameString = f"NICK " + nickname + f"\n"
30+
self._passString = f"PASS " + self.oauth + f"\n"
31+
self._nameString = f"NICK " + self.nickname + f"\n"
3232

3333

3434
def _join_channels(self, channels):

0 commit comments

Comments
 (0)