mirror of
https://github.com/znc/znc.git
synced 2026-07-04 08:51:14 +02:00
*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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user