summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-02 00:01:14 +0500
committerilotterytea <iltsu@alright.party>2024-05-02 00:01:14 +0500
commitde0439408529a257f975e613a9ac6b31926844f6 (patch)
tree98c53367052ca833bac58b4548efc132c47e6284 /src
parent7f9002377d207d7a175d595faf9f756629a8557c (diff)
upd: "oauth:" isnt needed to log in to irc
Diffstat (limited to 'src')
-rw-r--r--src/irc/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/client.cpp b/src/irc/client.cpp
index dde9a5c..d6bf60f 100644
--- a/src/irc/client.cpp
+++ b/src/irc/client.cpp
@@ -124,7 +124,7 @@ void Client::authorize() {
std::cout << "Authorizing on Twitch IRC servers...\n";
- this->raw("PASS " + this->password);
+ this->raw("PASS oauth:" + this->password);
this->raw("NICK " + this->username);
this->raw("CAP REQ :twitch.tv/membership");
this->raw("CAP REQ :twitch.tv/commands");