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:
prozacx
2005-03-10 06:51:17 +00:00
parent 45a8aca016
commit 03f0ff3df0
2 changed files with 2 additions and 0 deletions

View File

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