diff --git a/Chan.cpp b/Chan.cpp index 797eaa80..15c3561a 100644 --- a/Chan.cpp +++ b/Chan.cpp @@ -105,6 +105,7 @@ void CChan::Cycle() const { void CChan::JoinUser(bool bForce, const CString& sKey, CClient* pClient) { if (!bForce && (!IsOn() || !IsDetached())) { m_pUser->PutIRC("JOIN " + GetName() + " " + ((sKey.empty()) ? GetKey() : sKey)); + SetDetached(false); return; }