From d8234a1a71f515ec63e90a948a0f34b50770e343 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 22 Apr 2025 00:09:55 +0100 Subject: [PATCH] Fix the IP in SASL This is wrong PR for that, but I noticed the issue while debugging failed tests here --- src/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.cpp b/src/Client.cpp index f279d81c..e0a48681 100644 --- a/src/Client.cpp +++ b/src/Client.cpp @@ -1325,7 +1325,7 @@ void CClient::RefuseSASLLogin(const CString& sReason) { void CClient::AcceptSASLLogin(CUser& User) { PutClient(":irc.znc.in 900 " + GetNick() + " " + GetNick() + "!" + - User.GetIdent() + "@" + GetHostName() + " " + User.GetUsername() + + User.GetIdent() + "@" + GetRemoteIP() + " " + User.GetUsername() + " :You are now logged in as " + User.GetUsername()); PutClient(":irc.znc.in 903 " + GetNick() + " :SASL authentication successful");