From 7d0314f41623354699c3f14e5c8eb05daee74781 Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 4 May 2008 14:55:21 +0000 Subject: [PATCH] *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 --- IRCSock.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRCSock.cpp b/IRCSock.cpp index d7952f31..d4b001bd 100644 --- a/IRCSock.cpp +++ b/IRCSock.cpp @@ -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);