mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fixed issue where topic was lost during a detach/attach cycle
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@43 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -90,6 +90,7 @@ void CUserSock::ReadLine(const string& sData) {
|
||||
} else if (pChan->IsDetached()) {
|
||||
PutServ(":" + m_pUser->GetCurNick() + " JOIN :" + pChan->GetName());
|
||||
PutIRC("NAMES " + pChan->GetName());
|
||||
PutIRC("TOPIC " + pChan->GetName());
|
||||
}
|
||||
|
||||
pChan->SetDetached(false);
|
||||
|
||||
Reference in New Issue
Block a user