void CAwayNickTimer::RunJob() { CIRCNetwork* pNetwork = m_Module.GetNetwork(); if (!pNetwork->IsUserAttached() && pNetwork->IsIRCConnected()) { m_Module.PutIRC("NICK " + m_Module.GetAwayNick()); } }
virtual void RunJob() { CIRCNetwork* pNetwork = m_Module.GetNetwork(); if (pNetwork->IsUserAttached() && pNetwork->IsIRCConnected()) { CString sConfNick = pNetwork->GetNick(); m_Module.PutIRC("NICK " + sConfNick); } }