mirror of
https://github.com/znc/znc.git
synced 2026-05-03 03:52:33 +02:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user