Fix the IP in SASL

This is wrong PR for that, but I noticed the issue while debugging failed tests here
This commit is contained in:
Alexey Sokolov
2025-04-22 00:09:55 +01:00
parent e084af4b7d
commit d8234a1a71

View File

@@ -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");