*Always* forward our own nick changes to clients

Thanks to SilverLeo for finding and debugging this one.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1037 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-05-04 14:55:21 +00:00
parent 311d20495f
commit 7d0314f416
+2
View File
@@ -443,6 +443,8 @@ void CIRCSock::ReadLine(const CString& sData) {
// Todo: use nick compare function here
if (Nick.GetNick().CaseCmp(GetNick()) == 0) {
// We are changing our own nick, the clients always must see this!
bIsVisible = true;
SetNick(sNewNick);
} else if (Nick.GetNick().CaseCmp(m_pUser->GetNick()) == 0) {
KeepNick(true);