diff options
author | George Hazan <ghazan@miranda.im> | 2021-01-11 22:02:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-01-11 22:02:20 +0300 |
commit | 69b7dc9c316a6cbd1fdb846e2cc93fed96da329f (patch) | |
tree | 520ef09b5b8797478297b5c6828b7818bc622342 /protocols/IRCG/src/commandmonitor.cpp | |
parent | a03a1f95eb360253e1cb43713a69106db7b46514 (diff) |
fixes #2686 ([IRC] SASL authentication failed)
Diffstat (limited to 'protocols/IRCG/src/commandmonitor.cpp')
-rw-r--r-- | protocols/IRCG/src/commandmonitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp index 42f6d66ee8..a402668e45 100644 --- a/protocols/IRCG/src/commandmonitor.cpp +++ b/protocols/IRCG/src/commandmonitor.cpp @@ -2162,7 +2162,7 @@ bool CIrcProto::OnIrc_AUTH_FAIL(const CIrcMessage*) bool CIrcProto::OnIrc_AUTHENTICATE(const CIrcMessage *pmsg)
{
if (m_bUseSASL && pmsg->parameters[0] == "+") {
- CMStringA payload(FORMAT, "%S%c%S%c%s%c", m_userID, 0, m_userID, 0, m_password, 0);
+ CMStringA payload(FORMAT, "%S%c%S%c%s%c", m_nick, 0, m_nick, 0, m_password, 0);
NLSend("AUTHENTICATE %s\r\n", ptrA(mir_base64_encode(payload, payload.GetLength())).get());
NLSend("CAP END\r\n");
}
|