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:
J-P Nurmi
2015-08-11 13:58:19 +02:00
parent 65e36c8daf
commit 45183612c8

View File

@@ -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) {