mirror of
https://github.com/znc/znc.git
synced 2026-05-04 04:22:37 +02:00
Fix CClient::GetNickMask()
A regression introduced by cebc093. A potentially empty network
specific bind _host_ should not be used as nick mask _ident_.
This commit is contained in:
@@ -853,7 +853,7 @@ CString CClient::GetNickMask() const {
|
||||
sHost = "irc.znc.in";
|
||||
}
|
||||
|
||||
return GetNick() + "!" + (m_pNetwork ? m_pNetwork->GetBindHost() : m_pUser->GetIdent()) + "@" + sHost;
|
||||
return GetNick() + "!" + (m_pNetwork ? m_pNetwork->GetIdent() : m_pUser->GetIdent()) + "@" + sHost;
|
||||
}
|
||||
|
||||
bool CClient::IsValidIdentifier(const CString& sIdentifier) {
|
||||
|
||||
Reference in New Issue
Block a user