summaryrefslogtreecommitdiff
path: root/protocols/IRCG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-11 22:02:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-11 22:02:20 +0300
commit69b7dc9c316a6cbd1fdb846e2cc93fed96da329f (patch)
tree520ef09b5b8797478297b5c6828b7818bc622342 /protocols/IRCG
parenta03a1f95eb360253e1cb43713a69106db7b46514 (diff)
fixes #2686 ([IRC] SASL authentication failed)
Diffstat (limited to 'protocols/IRCG')
-rw-r--r--protocols/IRCG/src/commandmonitor.cpp2
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");
}